From: Geert Stappers <stappers@stappers.nl>
To: mlmmj@mlmmj.org
Subject: [mlmmj] [PATCH 1/2] src/mlmmj-make-ml.in: replaced some 'exit 0' with empty statement
Date: Thu, 11 May 2017 16:22:42 +0000 [thread overview]
Message-ID: <1494519763-1307-1-git-send-email-stappers@stappers.nl> (raw)
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
next reply other threads:[~2017-05-11 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 16:22 Geert Stappers [this message]
2017-05-23 9:53 ` [mlmmj] [PATCH 1/2] src/mlmmj-make-ml.in: replaced some 'exit 0' with empty statement Geert Stappers
2017-05-23 10:02 ` Morten Shearman Kirkegaard
2017-05-23 13:35 ` Zhang Huangbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494519763-1307-1-git-send-email-stappers@stappers.nl \
--to=stappers@stappers.nl \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).