mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
print errno if daemonize failed
This commit is contained in:
@@ -14,6 +14,6 @@ pub fn daemonize<F: AsRef<Path>>(pid_path: Option<F>) {
|
||||
}
|
||||
|
||||
if let Err(err) = d.start() {
|
||||
error!("failed to daemonize, {}", err);
|
||||
error!("failed to daemonize, {:?} ({})", err, err);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user