aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-08-31 22:06:38 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-08-31 22:06:38 +0000
commit14eaeccb22aa44c0cd8b500a5ef7c1b7f7044ec1 (patch)
tree0a190e9ed055279bd4c2b737b586d9e256151c4e /chapter07
parent7458b40f3ad4414943ae34c5ef0a20d84ca3f5d7 (diff)
added -f to rm commands to remove possible pid files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1149 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-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