Skip to content

Commit

Permalink
update sshfs_mounter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
talosh committed Jan 5, 2023
1 parent 56e6309 commit 8798b6c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sshfs_mounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ def unmount(local_folder_path):
if __name__ == "__main__":

signal.signal(signal.SIGHUP, handle_exit)
signal.signal(signal.SIGINT, handle_exit)
signal.signal(signal.SIGQUIT, handle_exit)
signal.signal(signal.SIGILL, handle_exit)
signal.signal(signal.SIGTRAP, handle_exit)
signal.signal(signal.SIGABRT, handle_exit)
signal.signal(signal.SIGBUS, handle_exit)
signal.signal(signal.SIGFPE, handle_exit)
signal.signal(signal.SIGTERM, handle_exit)

app_location = os.path.dirname(os.path.abspath(__file__))
config_folder_path = os.path.join(app_location, 'config')
Expand Down

0 comments on commit 8798b6c

Please sign in to comment.