summaryrefslogtreecommitdiff
path: root/package/busybox/files/crond.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/files/crond.init')
-rw-r--r--package/busybox/files/crond.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/crond.init b/package/busybox/files/crond.init
index 208479c6d..dcccb7fca 100644
--- a/package/busybox/files/crond.init
+++ b/package/busybox/files/crond.init
@@ -14,7 +14,7 @@ start)
crond -c /etc/crontabs
;;
stop)
- kill $(pidof crond|cut -d ' ' -f 3)
+ pkill crond
;;
restart)
sh $0 stop