mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the L? entry
tmpfiles.d(5) has L? for a link that is only made when what it points
to exists:
L? /etc/localtime - - - - ../usr/share/zoneinfo/UTC
The ? was not read, so this made the link whatever was there.
Finit has had this as its own l entry. Read L? as l.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+15
-1
No files matched your search
@@ -1178,6 +1178,8 @@ static void tmpfiles(char *line)
|
||||
plus = 1;
|
||||
else if (*mod == '!')
|
||||
boot = 1;
|
||||
else if (*mod == '?' && type[0] == 'L')
|
||||
type[0] = 'l'; /* What Finit has had as l */
|
||||
}
|
||||
if (boot && !boot_flag)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user