aboutsummaryrefslogtreecommitdiff
path: root/sbosnap
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-03 14:53:18 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-03-03 14:53:18 +0100
commit30b1aa84d602a648139ae78f00b94dc9ded666bf (patch)
tree3bdaa78c53cbc18a738af15eb0cec00c9561d6d3 /sbosnap
parent5ecef1547e12d76c5a7157f65a90937511600b1b (diff)
downloadsbotools2-30b1aa84d602a648139ae78f00b94dc9ded666bf.tar.xz
sbo*: Add returns to subs missing them and check @_ better
Diffstat (limited to 'sbosnap')
-rwxr-xr-xsbosnap3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbosnap b/sbosnap
index 94b1ce1..e0876a5 100755
--- a/sbosnap
+++ b/sbosnap
@@ -21,7 +21,7 @@ my $sbo_home = $config{SBO_HOME};
my $self = basename($0);
sub show_usage {
- print <<EOF
+ print <<"EOF";
Usage: $self [options|command]
Options:
@@ -36,6 +36,7 @@ Commands:
(generally, you may prefer "sbocheck" over "$self update")
EOF
+ return 1;
}
show_usage() and exit 1 unless exists $ARGV[0];