mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-30 05:11:14 +00:00
refine log
This commit is contained in:
+4
-1
@@ -678,7 +678,6 @@ int main(int argc, char **argv)
|
||||
break;
|
||||
case 'A':
|
||||
auth = 1;
|
||||
LOGI("onetime authentication enabled");
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -741,6 +740,10 @@ int main(int argc, char **argv)
|
||||
daemonize(pid_path);
|
||||
}
|
||||
|
||||
if (auth) {
|
||||
LOGI("onetime authentication enabled");
|
||||
}
|
||||
|
||||
// ignore SIGPIPE
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
signal(SIGABRT, SIG_IGN);
|
||||
|
||||
Reference in New Issue
Block a user