mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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
This commit is contained in:
parent
7458b40f3a
commit
14eaeccb22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user