diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-18 19:08:51 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-23 16:51:19 -0700 |
| commit | 32df789b099a8d6c34b423cd7b3ff892aaaddd4f (patch) | |
| tree | fe36ae5cffe9b47927f40105551922dd88fdf504 /scripts/hash.rc | |
| parent | 2b9d69e0b35b4c2e000a1d02643191886d57d039 (diff) | |
Use empty checkstatus function
Since it is considered a simple command, it will trigger a failure if
the previous command had failed.
Diffstat (limited to 'scripts/hash.rc')
| -rw-r--r-- | scripts/hash.rc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/hash.rc b/scripts/hash.rc index 3d7235d7..e33b5682 100644 --- a/scripts/hash.rc +++ b/scripts/hash.rc @@ -8,10 +8,7 @@ mode=$3 name=$4 shift 4 -fn checkstatus { - s=$status if(! ~ $s '' '|') exit $s - status=() -} +fn checkstatus {} hash=`{ switch($mode) { |
