diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:10:48 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-07-10 19:10:48 +0200 |
commit | e3b9acb1dfe6f3c339cf5a2f12110c3662dd902c (patch) | |
tree | ed109653f4038189c4f1f0e699a5bb6304d31386 | |
parent | ea35b0f3563c8ec7576b3598ca5ce62219f8f191 (diff) | |
parent | b62910644a1a0944ccd1c797bcaaff206cce159d (diff) |
Merge pull request #49 from matthiasbeyer/fix-#44
Exit bad if there is no command
-rwxr-xr-x | nix-script | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ then exit 0 fi -[ -z "$COMMAND" ] && stderr "No command given" && exit 0 +[ -z "$COMMAND" ] && stderr "No command given" && exit 1 stdout "Searching for script for '$COMMAND'" SCRIPT=$(script_for $COMMAND) |