Fix warning about --no-hardcoded-sync being printed when it shouldn't (#8261)

This commit is contained in:
Pierre Krieger 2018-03-29 14:33:57 +02:00 committed by Tomasz Drwięga
parent 899c1a4b0e
commit 7f9589d678

View File

@ -575,7 +575,7 @@ pub fn execute_impl(cmd: RunCmd, can_restart: bool, logger: Arc<RotatingLogger>)
}
// display warning if using --no-hardcoded-sync
if !cmd.no_hardcoded_sync {
if cmd.no_hardcoded_sync {
warn!("The --no-hardcoded-sync flag has no effect if you don't use --light");
}