From aa5f6817bcb4cfea8708edf765358f4f507d5923 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Apr 2015 01:10:19 +0200 Subject: tmpfiles: consider an argument of "-" as non-specified --- src/tmpfiles/tmpfiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3-54-g00ecf