diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 01:10:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 01:10:19 +0200 |
commit | aa5f6817bcb4cfea8708edf765358f4f507d5923 (patch) | |
tree | 4e87a96e1972111a9bf3a71df9a3b54dc8c84142 /src/tmpfiles/tmpfiles.c | |
parent | 0f51442056157cfec2efc52ddbff7392b0ff674a (diff) |
tmpfiles: consider an argument of "-" as non-specified
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index b7dd37cc33..8cbeb6729e 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -1760,7 +1760,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) { return -EIO; } - if (!isempty(buffer)) { + if (!isempty(buffer) && !streq(buffer, "-")) { i.argument = strdup(buffer); if (!i.argument) return log_oom(); |