public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:0.21.x commit in: init.d/
Date: Tue, 30 Aug 2016 14:09:38 +0000 (UTC)	[thread overview]
Message-ID: <1472239919.5f1daa6f30849d95db1f6b4b84abdc9645db3f94.williamh@OpenRC> (raw)

commit:     5f1daa6f30849d95db1f6b4b84abdc9645db3f94
Author:     Doug Freed <dwfreed <AT> mtu <DOT> edu>
AuthorDate: Fri Aug 26 19:23:54 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 19:31:59 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=5f1daa6f

modules-load: handle comments better

This handles comments without a trailing space after the comment
character.

Reported-By: josef64

 init.d/modules-load.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init.d/modules-load.in b/init.d/modules-load.in
index 0f80396..2387a8d 100644
--- a/init.d/modules-load.in
+++ b/init.d/modules-load.in
@@ -44,8 +44,8 @@ load_modules()
 	[ -z "$file" ] && return 0
 	while read m x; do
 		case $m in
-			\;) continue ;;
-			\#) continue ;;
+			\;*) continue ;;
+			\#*) continue ;;
 			*) modules="$modules $m"
 			;;
 		esac


             reply	other threads:[~2016-08-30 14:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 14:09 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-31 13:47 [gentoo-commits] proj/openrc:0.21.x commit in: init.d/ William Hubbs
2016-08-25 22:03 William Hubbs
2016-08-25 22:03 William Hubbs
2016-08-25 22:03 William Hubbs
2016-07-31 19:06 William Hubbs
2016-07-06 17:35 William Hubbs

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=1472239919.5f1daa6f30849d95db1f6b4b84abdc9645db3f94.williamh@OpenRC \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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