From: Lennart Poettering Date: Mon, 20 Apr 2015 23:10:19 +0000 (+0200) Subject: tmpfiles: consider an argument of "-" as non-specified X-Git-Tag: v220~390 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa5f6817bcb4cfea8708edf765358f4f507d5923;p=thirdparty%2Fsystemd.git tmpfiles: consider an argument of "-" as non-specified --- diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index b7dd37cc336..8cbeb6729e5 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();