Procházet zdrojové kódy

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
Gerard Beekmans před 24 roky
rodič
revize
14eaeccb22
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      chapter07/functions.xml

+ 2 - 2
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