Fixed typo
This commit is contained in:
parent
70388095a5
commit
d823dce7db
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fn daemonize(options: &getopts::Matches) -> Result<()> {
|
||||||
log_file.push("polaris.log");
|
log_file.push("polaris.log");
|
||||||
let pid = match daemonize_redirect(Some(&log_file), Some(&log_file), ChdirMode::NoChdir) {
|
let pid = match daemonize_redirect(Some(&log_file), Some(&log_file), ChdirMode::NoChdir) {
|
||||||
Ok(p) => p,
|
Ok(p) => p,
|
||||||
Err(e) => bail!("Daemonize error: {#?}", e),
|
Err(e) => bail!("Daemonize error: {:#?}", e),
|
||||||
};
|
};
|
||||||
let mut pid_path = utils::get_data_root()?;
|
let mut pid_path = utils::get_data_root()?;
|
||||||
pid_path.push("polaris.pid");
|
pid_path.push("polaris.pid");
|
||||||
|
|
Loading…
Add table
Reference in a new issue