From 4aec1750cc757be6237d54e4e6fb3789368a1d9e Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 25 Apr 2016 00:02:53 +0200 Subject: sboinstall: change condition check to read better --- sboinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sboinstall') diff --git a/sboinstall b/sboinstall index 1f3db06..b5f6eb7 100755 --- 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]: "; -- cgit v1.2.3