Fixed --signal typo
Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3773
This commit is contained in:
parent
b9889021d4
commit
e75e501265
|
@ -227,7 +227,7 @@ zfs_daemon_reload()
|
||||||
|
|
||||||
if type start-stop-daemon > /dev/null 2>&1 ; then
|
if type start-stop-daemon > /dev/null 2>&1 ; then
|
||||||
# LSB functions
|
# LSB functions
|
||||||
start-stop-daemon --stop -signal 1 --quiet \
|
start-stop-daemon --stop --signal 1 --quiet \
|
||||||
--pidfile "$PIDFILE" --name "$DAEMON_NAME"
|
--pidfile "$PIDFILE" --name "$DAEMON_NAME"
|
||||||
return $?
|
return $?
|
||||||
elif type killproc > /dev/null 2>&1 ; then
|
elif type killproc > /dev/null 2>&1 ; then
|
||||||
|
|
Loading…
Reference in New Issue