Provide exit code on explicit exit

This commit is contained in:
Salt 2024-12-01 23:19:19 -06:00
parent b7e10dccb9
commit 1dee476771

View File

@ -62,7 +62,7 @@ for file in /etc/shadow /etc/gshadow; do
;; ;;
*) *)
echo "Unknown file to parse for junk: $file" echo "Unknown file to parse for junk: $file"
exit exit 101
;; ;;
esac esac
# Now, we use getent to find a match for the shadow entry. It's at this point # Now, we use getent to find a match for the shadow entry. It's at this point