mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-12 07:14:38 +00:00
cli: exit with code 1 on invalid config
This should have been part of the previous commit (fix for #55).
This commit is contained in:
parent
108b785a36
commit
2916cb2d9f
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ fn main() {
|
||||||
let mut ui = Ui::for_terminal(UserSettings::default());
|
let mut ui = Ui::for_terminal(UserSettings::default());
|
||||||
ui.write_error(&format!("Invalid config: {}\n", err))
|
ui.write_error(&format!("Invalid config: {}\n", err))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue