summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-22 12:42:24 -0400
committerjim-p <jimp@pfsense.org>2010-09-22 12:42:24 -0400
commita147b1e0432e2fa7ba831668d4f0ff95351179b8 (patch)
tree9cae092bdfdaddf374f3e4b052b4f9973f7df789 /etc/inc/services.inc
parent7b2fdac49b28d638a38c9f51a7222e25d386bcca (diff)
downloadpfsense-a147b1e0432e2fa7ba831668d4f0ff95351179b8.zip
pfsense-a147b1e0432e2fa7ba831668d4f0ff95351179b8.tar.gz
Use pkill to avoid an error if the process isn't already running. This was a cosmetic issue only, cron was not yet running when this happened at bootup, it's started later in the boot process. Fixes #902
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 9152983..518171d 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1283,7 +1283,7 @@ function configure_cron() {
file_put_contents("/etc/crontab", $crontab_contents);
/* do a HUP kill to force sync changes */
- exec('/usr/bin/killall -HUP cron');
+ exec('/bin/pkill -HUP cron');
conf_mount_ro();
}
OpenPOWER on IntegriCloud