diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-06-20 19:39:07 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-06-20 19:39:07 -0500 |
commit | 094bc17cb0ad75da189ebf1a8242a378928a1eef (patch) | |
tree | 125ac0400ab8c09d277140654360e028d1cbd8ed /sh | |
parent | 6126700a0723efa4ef1e299da0f58498f742c3a1 (diff) |
tmpfiles.sh: fix comment processing
If you happened to format a comment with no white space after the '#',
it was not being processed.
Reported-by: consus@gmx.com
X-Gentoo-Bug: 511804
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511804
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/tmpfiles.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in index 6d4c614c..66612fcc 100755 --- a/sh/tmpfiles.sh.in +++ b/sh/tmpfiles.sh.in @@ -304,7 +304,7 @@ for FILE in $tmpfiles_d ; do # whine about invalid entries case $cmd in f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) ;; - \#) continue ;; + \#*) continue ;; *) warninvalid ; continue ;; esac |