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
This commit is contained in:
William Hubbs 2014-06-20 19:39:07 -05:00
parent 6126700a07
commit 094bc17cb0

View File

@ -304,7 +304,7 @@ for FILE in $tmpfiles_d ; do
# whine about invalid entries # whine about invalid entries
case $cmd in case $cmd in
f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) ;; f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) ;;
\#) continue ;; \#*) continue ;;
*) warninvalid ; continue ;; *) warninvalid ; continue ;;
esac esac