Code

Changes between Version 12 and Version 13 of InitdScriptForLinux


Ignore:
Timestamp:
07/05/12 01:07:56 (22 months ago)
Author:
shappen@…
Comment:

when delete the pid file with permission 400 without -f option, there will be an alert to delete this file and will not delete it as wanted.

Legend:

Unmodified
Added
Removed
Modified
  • InitdScriptForLinux

    v12 v13  
    8484                          || echo -n " not running" 
    8585        if [ -f $RUNFILES_PATH/$SITE.pid ]; then 
    86            rm $RUNFILES_PATH/$SITE.pid 
     86           rm -f $RUNFILES_PATH/$SITE.pid 
    8787        fi 
    8888    done