aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/sboconfig b/sboconfig
index ebeccd5..9c5483d 100755
--- a/sboconfig
+++ b/sboconfig
@@ -90,7 +90,10 @@ if (exists $options{list}) {
exit 0;
}
-show_usage() and exit 0 unless keys %options > 0;
+if (not %options) {
+ show_usage();
+ exit 0;
+}
# setup what's being changed, sanity check.
my %changes;