aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-02-12 20:02:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-02-12 20:02:14 -0800
commitb39cd46c89139ac9bb42bdd8be96e301e296738f (patch)
treebe397ba8823e249dbc74c05fdcc93dcbe5107eb4
parentb3c0288a9b245993c8b220f61ded7b2c964709a8 (diff)
downloadcdlog-b39cd46c89139ac9bb42bdd8be96e301e296738f.tar.gz
cdlog-b39cd46c89139ac9bb42bdd8be96e301e296738f.tar.bz2
cdlog-b39cd46c89139ac9bb42bdd8be96e301e296738f.zip
Issue successful status out of cdlog.recover.
* cdlog.sh (cdlog.recover): return 0, because the [ $print ] test in the previous line can fail, leaving the function with a failed termination status.
-rw-r--r--cdlog.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdlog.sh b/cdlog.sh
index 4a3b92b..fc8568f 100644
--- a/cdlog.sh
+++ b/cdlog.sh
@@ -182,6 +182,7 @@ cdlog.recover()
fi
[ $print ] && printf "%s\n" "$PWD"
+ return 0
}
# Resolve @ search item to number