diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-01-07 14:44:47 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-01-07 14:44:47 +0545 |
commit | 059f97bf982435e7a34f908a9b524e44123095eb (patch) | |
tree | 54911dcf9845b84c2230a4bfef7ecfe13f1619c5 /config/squid/squid.xml | |
parent | ff8b5325d6c7c97364a6d549871a815445497b70 (diff) | |
download | pfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.tar.gz pfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.tar.bz2 pfsense-packages-059f97bf982435e7a34f908a9b524e44123095eb.zip |
Improve cron rcfile stop processing
If cron.pid did not exist, an error was emitted - that could happen when a stop is done at package install, before it was ever started. If cron is stopped, cron.pid was left behind. Another attempt to stop would emit an error about the pid in cron.pid no existing.
This extra checking avoids any error messages if stop is called before start, or stop is called twice.
Diffstat (limited to 'config/squid/squid.xml')
0 files changed, 0 insertions, 0 deletions