From b39cd46c89139ac9bb42bdd8be96e301e296738f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 12 Feb 2025 20:02:14 -0800 Subject: 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. --- cdlog.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3