# HG changeset patch # User Franz Glasner # Date 1663433848 -7200 # Node ID 0da26750b6fb8ba03b44564620dde2bd906d4dbb # Parent 3c24b07240f233b6a29268c4740bd09cdc399cc6 FIX: Explicitely return 0 in the non-error case becsue getopts sometime determines the result value instead diff -r 3c24b07240f2 -r 0da26750b6fb sbin/ftjail --- a/sbin/ftjail Sat Sep 17 16:47:32 2022 +0200 +++ b/sbin/ftjail Sat Sep 17 18:57:28 2022 +0200 @@ -105,6 +105,7 @@ while getopts ":" _opt ; do [ "${_opt}" = '?' ] && { echo "ERROR: no option allowed" 1>&2; exit 2; } done + return 0 }