summaryrefslogtreecommitdiff
path: root/scripts/tree.rc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-18 19:08:51 -0700
committerMichael Forney <mforney@mforney.org>2016-04-23 16:51:19 -0700
commit32df789b099a8d6c34b423cd7b3ff892aaaddd4f (patch)
treefe36ae5cffe9b47927f40105551922dd88fdf504 /scripts/tree.rc
parent2b9d69e0b35b4c2e000a1d02643191886d57d039 (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/tree.rc')
-rw-r--r--scripts/tree.rc5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/tree.rc b/scripts/tree.rc
index 28916224..12bf9c32 100644
--- a/scripts/tree.rc
+++ b/scripts/tree.rc
@@ -6,10 +6,7 @@ repo=$1
tag=$2
index=$3
-fn checkstatus {
- s=$status if(! ~ $s '' '|') exit $s
- status=()
-}
+fn checkstatus {}
ifs=() { oldcwd=`{pwd | head -c -1} }
cd $repo