Fixed build breakage on Linux

This commit is contained in:
Antoine Gersant 2018-10-06 21:50:51 -07:00
parent e1bd70e71a
commit cd40ce374e

View file

@ -126,7 +126,7 @@ fn daemonize(options: &getopts::Matches) -> Result<()> {
}
#[cfg(unix)]
fn init_log(log_level: LogLevelFilter, options: &getopts::Matches) -> Result<()> {
fn init_log(log_level: LevelFilter, options: &getopts::Matches) -> Result<()> {
if options.opt_present("f") {
if let Err(e) = TermLogger::init(log_level, LOG_CONFIG) {
bail!("Error starting terminal logger: {}", e);