run: make run script fail on unmet dependencies

Fixes #2820
This commit is contained in:
Roman Iten 2018-05-09 19:15:18 +02:00 committed by Christian Helmuth
parent f4cfa0ca43
commit 5d23ef9447
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ proc run_power_on { } {
if {[check_version $qemu_version $qemu_good_old $qemu_good_new]} {
puts "\nYour Qemu version '$qemu_version' is not working with AMD SVM virtualisation"
puts "Known good Qemu versions are until $qemu_good_old and starting with $qemu_good_new\n"
exit
exit 1
}
}

View File

@ -516,7 +516,7 @@ proc have_installed {program} {
#
proc requires_installation_of {program} {
if {![have_installed $program]} {
puts "Run script aborted because $program is not installed"; exit
puts "Run script aborted because $program is not installed"; exit 1
}
}