fix secondkey test, properly
This commit is contained in:
@@ -227,7 +227,7 @@ status=`expr $status + $ret`
|
||||
|
||||
echo "I:test using second key"
|
||||
ret=0
|
||||
$RNDC -s 10.53.0.2 -p 9953 -c ../common/rndc.conf -k ns2/secondkey.key status > /dev/null || ret=1
|
||||
$RNDC -s 10.53.0.2 -p 9953 -c ns2/secondkey.conf status > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user