diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-25 00:02:53 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-25 00:02:53 +0200 |
commit | 4aec1750cc757be6237d54e4e6fb3789368a1d9e (patch) | |
tree | 387319395cd04eb08e9cede034ebe31fb37fa865 | |
parent | b5e7e90a789da20cca33ab17a80e0f52224f075c (diff) | |
download | sbotools2-4aec1750cc757be6237d54e4e6fb3789368a1d9e.tar.xz |
sboinstall: change condition check to read better
-rwxr-xr-x | sboinstall | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ FIRST: for my $sbo (@$build_queue) { } @$build_queue = @temp_queue; -exit 0 unless exists $$build_queue[0]; +exit 0 if @{ $build_queue } == 0; say "\nInstall queue: " . join(' ', @$build_queue); unless ($non_int) { print "\nAre you sure you wish to continue? [y]: "; |