sshfs: bugfix for status not reporting properly
parent
85ea267c89
commit
bfd522c7f8
|
@ -32,7 +32,8 @@ function stop {
|
||||||
}
|
}
|
||||||
|
|
||||||
function status {
|
function status {
|
||||||
if pgrep sshfs > /dev/null; then echo "1"; else echo "0"; fi
|
pidof sshfs > /dev/null
|
||||||
|
if [ $? -eq 0 ]; then echo "1"; else echo "0"; fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function configure {
|
function configure {
|
||||||
|
|
Loading…
Reference in New Issue