forked from josch/mmdebstrap
print errer message if mmdebstrap failed to run
This commit is contained in:
parent
ff2910a746
commit
4f811b7117
1 changed files with 3 additions and 1 deletions
|
@ -5849,9 +5849,11 @@ sub main() {
|
|||
if ($exitstatus == 0) {
|
||||
my $duration = Time::HiRes::time - $before;
|
||||
info "success in " . (sprintf "%.04f", $duration) . " seconds";
|
||||
exit 0;
|
||||
}
|
||||
|
||||
exit $exitstatus;
|
||||
error "mmdebstrap failed to run";
|
||||
return 1;
|
||||
}
|
||||
|
||||
main();
|
||||
|
|
Loading…
Reference in a new issue