aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboupgrade b/sboupgrade
index b78465e..6ac6250 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -124,7 +124,7 @@ my %inst_names;
$inst_names{$_} = 1 for @$inst_names;
my %updates;
if (not $non_int or not $force) {
- $updates //= get_available_updates();
+ $updates = get_available_updates() if not defined $updates;
$updates{$$_{name}} = 1 for @$updates;
}