diff options
Diffstat (limited to 'ftp/jftpgw')
-rw-r--r-- | ftp/jftpgw/files/jftpgw.sh.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ftp/jftpgw/files/jftpgw.sh.in b/ftp/jftpgw/files/jftpgw.sh.in index 9c5fc8616a12..c0e8ae90134d 100644 --- a/ftp/jftpgw/files/jftpgw.sh.in +++ b/ftp/jftpgw/files/jftpgw.sh.in @@ -16,10 +16,8 @@ start) ;; stop) -# work around PID file creation problem - killall jftpgw -# PID=`cat $PIDFILE 2>/dev/null` -# ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID + PID=`cat $PIDFILE 2>/dev/null` + ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID ;; *) |