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 0B269138330 for ; Tue, 30 Aug 2016 14:16:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BD5621C0A5; Tue, 30 Aug 2016 14:16:08 +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 3AC8F21C0A1 for ; Tue, 30 Aug 2016 14:16:07 +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 C277733D3C7 for ; Tue, 30 Aug 2016 14:16:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BC93246F for ; Tue, 30 Aug 2016 14:16:03 +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: <1472239434.c289774b00d0d7dc38fdc1f0f623569bd184a4b1.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master 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: c289774b00d0d7dc38fdc1f0f623569bd184a4b1 X-VCS-Branch: master Date: Tue, 30 Aug 2016 14:16:03 +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: 937ada11-37ad-4930-88a7-27523831e554 X-Archives-Hash: 1a41ed5a80a6fdf8fed009124daea0c3 commit: c289774b00d0d7dc38fdc1f0f623569bd184a4b1 Author: Doug Freed mtu edu> AuthorDate: Fri Aug 26 19:23:54 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Aug 26 19:23:54 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c289774b 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