commit | aa5f6817bcb4cfea8708edf765358f4f507d5923 | [log] [tgz] |
---|---|---|
author | Lennart Poettering <lennart@poettering.net> | Tue Apr 21 01:10:19 2015 +0200 |
committer | Lennart Poettering <lennart@poettering.net> | Tue Apr 21 01:10:19 2015 +0200 |
tree | 4e87a96e1972111a9bf3a71df9a3b54dc8c84142 | |
parent | 0f51442056157cfec2efc52ddbff7392b0ff674a [diff] [blame] |
tmpfiles: consider an argument of "-" as non-specified
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index b7dd37c..8cbeb67 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c
@@ -1760,7 +1760,7 @@ return -EIO; } - if (!isempty(buffer)) { + if (!isempty(buffer) && !streq(buffer, "-")) { i.argument = strdup(buffer); if (!i.argument) return log_oom();