commit 4aec1750cc757be6237d54e4e6fb3789368a1d9e
parent b5e7e90a789da20cca33ab17a80e0f52224f075c
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Mon, 25 Apr 2016 00:02:53 +0200
sboinstall: change condition check to read better
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sboinstall b/sboinstall
@@ -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]: ";