[mlmmj] [PATCH 1/2] src/mlmmj-make-ml.in: replaced some 'exit 0' with empty statement
Geert Stappers <[email protected]>
| Newsgroups | org.mlmmj.mlmmj |
|---|---|
| Message-ID | <[email protected]> |
Some early exits by 'exit 0' are better of with no exit, with just an empty statement. --- src/mlmmj-make-ml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlmmj-make-ml.in b/src/mlmmj-make-ml.in index a6e10a3..c93084f 100755 --- a/src/mlmmj-make-ml.in +++ b/src/mlmmj-make-ml.in @@ -146,7 +146,7 @@ if [ -n "$A_CREATE" ]; then echo "$ALIAS" >> $ALIASFILE ;; n|N) - exit 0 + : # empty statement ;; *) echo "Options was: y, Y, n or N" @@ -166,7 +166,7 @@ if [ "$DO_CHOWN" ] ; then chown -R $CHOWN $SPOOLDIR/$LISTNAME ;; n|N) - exit 0 + : # empty statement ;; *) echo "option is: y, Y, n, N" -- 2.11.0