aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2014-06-20 19:39:07 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-06-20 19:39:07 -0500
commit094bc17cb0ad75da189ebf1a8242a378928a1eef (patch)
tree125ac0400ab8c09d277140654360e028d1cbd8ed /sh
parent6126700a0723efa4ef1e299da0f58498f742c3a1 (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-xsh/tmpfiles.sh.in2
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