chiark / gitweb /
SECURITY: adns: Do not corrupt pointer when nameserver speaks first
[adns.git] / regress / sys-rc-convert
1 #!/bin/sh
2 f=$1
3 o=${f%.sys}.out
4 rc=`sed -n '$s/^rc=//p' $o`
5 sed -e '$s/^rc=.*/rc=0/' $o >$o.new
6 mv $o.new $o
7 echo " exit $rc" >>$f