Merge pull request #36 from mmdj4u/bugfix/status-for-sshfs-not-working

sshfs: bugfix for status not reporting properly
pull/24/merge
Darren Kitchen 2020-05-09 23:21:52 -07:00 committed by GitHub
commit 6580174407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 {