From 14eaeccb22aa44c0cd8b500a5ef7c1b7f7044ec1 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Fri, 31 Aug 2001 22:06:38 +0000 Subject: 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 --- chapter07/functions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chapter07') 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 -- cgit v1.2.3-54-g00ecf