Skip to content

Commit

Permalink
Fix command typo
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev committed Feb 2, 2018
1 parent 7b8e0a2 commit 126c331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -13,7 +13,7 @@

setup(
name = "sftpman",
version = '1.0',
version = '1.0.1',
description = "A command-line application that helps you mount SFTP file systems.",
long_description = __doc__,
author = "Slavi Pantaleev",
Expand Down
2 changes: 1 addition & 1 deletion sleep-scripts/sleep.d/49-sftpman-unmount-all
Expand Up @@ -7,7 +7,7 @@
if [ -n "$1" ]; then
if ([ "$1" = "suspend" ] || [ "$1" = "hibernate" ]); then
for username in $(ps aux | grep '/mnt/sshfs/' | grep -v 'grep' | grep -o -E '^(\w+)\s' | uniq); do
su -l $username -c 'sftpman unmount_all'
su -l $username -c 'sftpman umount_all'
done;
fi
fi

0 comments on commit 126c331

Please sign in to comment.