Fixed an error in the init script's status function.
This commit is contained in:
parent
8630c134a8
commit
2280b802c7
1 changed files with 2 additions and 2 deletions
2
debian/shellinabox.init
vendored
2
debian/shellinabox.init
vendored
|
@ -89,7 +89,7 @@ d_reload() {
|
||||||
# Function that check the status of the daemon/service.
|
# Function that check the status of the daemon/service.
|
||||||
#
|
#
|
||||||
d_status() {
|
d_status() {
|
||||||
[ -r "$PIDFILE" && kill -0 `cat "$PIDFILE"` ] &&
|
[ -r "$PIDFILE" ] && kill -0 `cat "$PIDFILE"` &&
|
||||||
echo "$DESC is running" || echo "$DESC is not running"
|
echo "$DESC is running" || echo "$DESC is not running"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue