summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-01 15:35:21 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-01 15:35:21 +0200
commit8634364e8bb45cfaf0d52a0358d1bc0ac201ce22 (patch)
tree4dddb0580a1b6176b90cbd9ee805e06efbd5fb02 /bin
parentdaa3ac4a5340030d9a2dd8bad5776b1130f103b2 (diff)
envstore: usage: Just refer to perldoc, don't call it all the time
Diffstat (limited to 'bin')
-rwxr-xr-xbin/envstore3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/envstore b/bin/envstore
index fb6b87b..414d4a3 100755
--- a/bin/envstore
+++ b/bin/envstore
@@ -14,7 +14,8 @@ my $arg2 = shift;
my ($key, $value);
sub usage {
- exec('perldoc', '-F', $0) or die("Yo, cannot execute perldoc -F $0, so do it yourself");
+ print STDERR "Invalid invocation - see perldoc -F $0\n";
+ exit(1);
}
sub check_store {