refine documentation

This commit is contained in:
clowwindy 2014-12-21 14:06:28 +08:00
parent 6dbabdea9d
commit 35c3b0b41c
3 changed files with 39 additions and 58 deletions

View file

@ -37,7 +37,7 @@ from shadowsocks import common
def daemon_exec(config):
if 'daemon' in config:
if os.name != 'posix':
raise Exception('daemon mode is only supported in unix')
raise Exception('daemon mode is only supported on Unix')
command = config['daemon']
if not command:
command = 'start'