Skip to content

Commit

Permalink
fix #425
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Aug 15, 2015
1 parent a2bc6e1 commit f19d0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadowsocks/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def handle_exit(signum, _):
sys.exit(1)

os.setsid()
signal.signal(signal.SIG_IGN, signal.SIGHUP)
signal.signal(signal.SIGHUP, signal.SIG_IGN)

print('started')
os.kill(ppid, signal.SIGTERM)
Expand Down

0 comments on commit f19d0ea

Please sign in to comment.