1 |
commit: 094bc17cb0ad75da189ebf1a8242a378928a1eef |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jun 21 00:39:07 2014 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 21 00:39:07 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=094bc17c |
7 |
|
8 |
tmpfiles.sh: fix comment processing |
9 |
|
10 |
If you happened to format a comment with no white space after the '#', |
11 |
it was not being processed. |
12 |
|
13 |
Reported-by: consus <AT> gmx.com |
14 |
X-Gentoo-Bug: 511804 |
15 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=511804 |
16 |
|
17 |
--- |
18 |
sh/tmpfiles.sh.in | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in |
22 |
index 6d4c614..66612fc 100755 |
23 |
--- a/sh/tmpfiles.sh.in |
24 |
+++ b/sh/tmpfiles.sh.in |
25 |
@@ -304,7 +304,7 @@ for FILE in $tmpfiles_d ; do |
26 |
# whine about invalid entries |
27 |
case $cmd in |
28 |
f|F|w|d|D|p|L|c|b|x|X|r|R|z|Z) ;; |
29 |
- \#) continue ;; |
30 |
+ \#*) continue ;; |
31 |
*) warninvalid ; continue ;; |
32 |
esac |