mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: skip the space before the argument of an entry
An entry written in aligned columns got the space after the age field
as part of its argument:
L /tmp/null - - - - /dev/null
This made a link to " /dev/null". Only the first separator after
the age was dropped. A lone "-" for no argument was also taken as is,
so an f entry with it made a file holding a dash.
Skip all the space before the argument, and read "-" as no argument.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+42
No files matched your search
@@ -81,6 +81,7 @@ EXTRA_DIST += start-stop-sysv.sh
|
||||
EXTRA_DIST += start-stop-serv.sh
|
||||
EXTRA_DIST += signal-service.sh
|
||||
EXTRA_DIST += testserv.sh
|
||||
EXTRA_DIST += tmpfiles-arg.sh
|
||||
EXTRA_DIST += tmpfiles-perm.sh
|
||||
EXTRA_DIST += unexpected-restart.sh
|
||||
EXTRA_DIST += dbus-auth.sh
|
||||
@@ -159,6 +160,7 @@ TESTS += start-stop-serv.sh
|
||||
TESTS += signal-service.sh
|
||||
if TESTSERV
|
||||
TESTS += testserv.sh
|
||||
TESTS += tmpfiles-arg.sh
|
||||
TESTS += tmpfiles-perm.sh
|
||||
endif
|
||||
TESTS += unexpected-restart.sh
|
||||
|
||||
Reference in new issue
Block a user