]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence rm error message
authorMark Andrews <marka@isc.org>
Mon, 20 Jun 2016 04:33:33 +0000 (14:33 +1000)
committerMark Andrews <marka@isc.org>
Mon, 20 Jun 2016 04:33:33 +0000 (14:33 +1000)
bin/tests/system/dnssec/tests.sh

index e2e944d426cd6f6be9920b66a7eb038b11c3f129..fac593e11129e61faa94662a8cc99ed9e73ee1b4 100644 (file)
@@ -1862,7 +1862,7 @@ ret=0
 echo "I:killing ns4 with SIGTERM"
 cd ns4
 kill -TERM `cat named.pid`
-rm named.pid
+rm -f named.pid
 cd ..
 
 #
@@ -1925,7 +1925,7 @@ grep "flags:[^;]* ad[^;]*;" dig.out.ns4.test$n.2 > /dev/null || ret=1
 echo "I:killing ns4 with SIGTERM"
 cd ns4
 kill -TERM `cat named.pid`
-rm named.pid
+rm -f named.pid
 cd ..
 
 echo "I:sleeping for an additional 4 seconds for ns4 to fully shutdown"
@@ -1984,7 +1984,7 @@ grep "flags:[^;]* ad[^;]*;" dig.out.ns4.test$n.2 > /dev/null || ret=1
 echo "I:killing ns4 with SIGTERM"
 cd ns4
 kill -TERM `cat named.pid`
-rm named.pid
+rm -f named.pid
 cd ..
 
 echo "I:sleeping for an additional 4 seconds for ns4 to fully shutdown"
@@ -2033,7 +2033,7 @@ echo "I: testing loading out of bounds lifetime from NTA file ($n)"
 echo "I:killing ns4 with SIGTERM"
 cd ns4
 kill -TERM `cat named.pid`
-rm named.pid
+rm -f named.pid
 cd ..
 
 echo "I:sleeping for an additional 4 seconds for ns4 to fully shutdown"