From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D4B6138330 for ; Tue, 30 Aug 2016 14:10:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6F7021C09B; Tue, 30 Aug 2016 14:09:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34E4F21C098 for ; Tue, 30 Aug 2016 14:09:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 106323408DD for ; Tue, 30 Aug 2016 14:09:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 201B82472 for ; Tue, 30 Aug 2016 14:09:38 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1472239919.5f1daa6f30849d95db1f6b4b84abdc9645db3f94.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:0.21.x commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/modules-load.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5f1daa6f30849d95db1f6b4b84abdc9645db3f94 X-VCS-Branch: 0.21.x Date: Tue, 30 Aug 2016 14:09:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e837bcd4-a5f0-45e6-a7a6-0baaabd8de7b X-Archives-Hash: 48133981f0296185d74f15b11cf03d0e commit: 5f1daa6f30849d95db1f6b4b84abdc9645db3f94 Author: Doug Freed mtu edu> AuthorDate: Fri Aug 26 19:23:54 2016 +0000 Commit: William Hubbs gentoo 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