aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter07/functions.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/functions.xml b/chapter07/functions.xml
index 918b3e8c6..d9ba8f6f8 100644
--- a/chapter07/functions.xml
+++ b/chapter07/functions.xml
@@ -294,7 +294,7 @@ killproc()
# print [ OK ]
#
- /bin/rm /var/run/$base.pid
+ /bin/rm -f /var/run/$base.pid
print_status success
fi
else
@@ -328,7 +328,7 @@ killproc()
# PID file and print [ OK ]
#
- /bin/rm /var/run/$base.pid
+ /bin/rm -f /var/run/$base.pid
print_status success
fi
fi