From dae96bc4930cf5ba6992eafa04cb786c3c44bbdb Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 15 Oct 2024 06:55:26 -0700 Subject: [PATCH] Fix exit code text in bin/find-missing-links.sh The code 5 was missing. The reason other lines changed is simply formatting (aligned to 4 chars). --- bin/find-missing-links.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/bin/find-missing-links.sh b/bin/find-missing-links.sh index a0be854aa..530adb601 100755 --- a/bin/find-missing-links.sh +++ b/bin/find-missing-links.sh @@ -133,14 +133,15 @@ export USAGE="usage: $0 [-h] [-v level] [-V] [-d topdir] -d topdir set topdir (def: $TOPDIR) Exit codes: - 0 all OK - 1 missing links found - 2 -h and help string printed or -V and version string printed - 3 command line error - 4 bash version is too old - 6 problems found with or in the topdir or topdir/YYYY directory - 7 problems found with or in the entry topdir/YYYY/dir directory - >= 10 internal error + 0 all OK + 1 missing links found + 2 -h and help string printed or -V and version string printed + 3 command line error + 4 bash version is too old + 5 git not installed or not in \$PATH + 6 problems found with or in the topdir or topdir/YYYY directory + 7 problems found with or in the entry topdir/YYYY/dir directory + >= 10 internal error $NAME version: $VERSION"