Forbid running install steps on stage 0
This commit is contained in:
parent
e8af2365c0
commit
2074e1344d
1 changed files with 4 additions and 0 deletions
|
|
@ -1045,6 +1045,10 @@ impl Config {
|
|||
eprintln!("ERROR: cannot dist anything on stage 0. Use at least stage 1.");
|
||||
exit!(1);
|
||||
}
|
||||
(0, Subcommand::Install { .. }) => {
|
||||
eprintln!("ERROR: cannot install anything on stage 0. Use at least stage 1.");
|
||||
exit!(1);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue