Fix warning about --no-hardcoded-sync being printed when it shouldn't (#8261)
This commit is contained in:
parent
899c1a4b0e
commit
7f9589d678
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user