diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/Fedora/smb.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/Fedora/smb.init b/packaging/Fedora/smb.init index 4182c13408..11a011883f 100644 --- a/packaging/Fedora/smb.init +++ b/packaging/Fedora/smb.init @@ -68,7 +68,7 @@ stop() { echo -n $"Shutting down $KIND services: " killproc nmbd -TERM RETVAL2=$? - [ $RETVAL -eq 0 ] && rm -f /var/run/nmbd.pid + [ $RETVAL2 -eq 0 ] && rm -f /var/run/nmbd.pid [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ] && rm -f /var/lock/subsys/smb echo "" return $RETVAL |