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 9e5a6e9 commit 5614c8f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions sshfs_mounter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
poll_intervall = 2

def handle_exit(sig, frame):
raise(SystemExit)
raise(KeyboardInterrupt)

def get_config_data(config_folder_path):
import json
Expand Down Expand Up @@ -64,14 +64,6 @@ 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__))
Expand Down

0 comments on commit 5614c8f

Please sign in to comment.