Merge pull request #36 from mmdj4u/bugfix/status-for-sshfs-not-working
sshfs: bugfix for status not reporting properlypull/24/merge
commit
6580174407
|
@ -32,7 +32,8 @@ function stop {
|
|||
}
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue