Skip to content

Commit 74838a2

Browse files
author
Michael Saki
committed
Refine exit code to 64 with gnu-getopt note
- Set exit code to 64 per sysexits.h for clarity. - Added comment on gnu-getopt handling. Aligns with Unix standards and enhances readability.
1 parent b377ce7 commit 74838a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup-env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ while true; do
165165
break
166166
;;
167167
*)
168+
# Unreachable due to gnu-getopt handling all options
168169
echo "Programming error"
169-
exit 3
170+
exit 64
170171
;;
171172
esac
172173
done

0 commit comments

Comments
 (0)