Fixed typo

This commit is contained in:
Antoine Gersant 2020-01-04 17:07:35 -08:00
parent 70388095a5
commit d823dce7db

View file

@ -65,7 +65,7 @@ fn daemonize(options: &getopts::Matches) -> Result<()> {
log_file.push("polaris.log");
let pid = match daemonize_redirect(Some(&log_file), Some(&log_file), ChdirMode::NoChdir) {
Ok(p) => p,
Err(e) => bail!("Daemonize error: {#?}", e),
Err(e) => bail!("Daemonize error: {:#?}", e),
};
let mut pid_path = utils::get_data_root()?;
pid_path.push("polaris.pid");