tazpanel rev 360
tazpanel: fix tazpanel stop
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Apr 14 19:21:42 2013 +0000 (2013-04-14) |
parents | cc5d96a08b68 |
children | eae19f6941d6 |
files | tazpanel |
line diff
1.1 --- a/tazpanel Wed Apr 10 13:16:12 2013 +0000 1.2 +++ b/tazpanel Sun Apr 14 19:21:42 2013 +0000 1.3 @@ -40,7 +40,7 @@ 1.4 status ;; 1.5 stop) 1.6 gettext 'Stopping TazPanel web server...' 1.7 - kill $(cat $PIDFILE) && status ;; 1.8 + kill $(pgrep -f TazPanel) && status ;; 1.9 passwd|-p) 1.10 echo "" 1.11 gettext 'Changing password for TazPanel'; echo