changeset 277:0da26750b6fb

FIX: Explicitely return 0 in the non-error case becsue getopts sometime determines the result value instead
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 17 Sep 2022 18:57:28 +0200
parents 3c24b07240f2
children a6c9eb25ae81
files sbin/ftjail
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 }