summaryrefslogtreecommitdiff
path: root/package/gpm/files/gpm.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpm/files/gpm.init')
-rw-r--r--package/gpm/files/gpm.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gpm/files/gpm.init b/package/gpm/files/gpm.init
index 812fc1bf7..95565a1fa 100644
--- a/package/gpm/files/gpm.init
+++ b/package/gpm/files/gpm.init
@@ -14,7 +14,7 @@ start)
/usr/sbin/gpm $gpm_flags
;;
stop)
- pkill gpm
+ kill $(pgrep -f /usr/sbin/gpm)
;;
restart)
sh $0 stop