Changes between Version 12 and Version 13 of InitdScriptForLinux


Ignore:
Timestamp:
Jul 5, 2012, 3:07:56 AM (12 years 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
Back to Top