From 4936b72e0f0d20168473df9a4598b8159245d45b Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 5 Nov 2012 21:25:32 +0000 Subject: tmpfilesd: Doing both create+remove at the same time is valid. Signed-off-by: Robin H. Johnson --- sh/tmpfiles.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/tmpfiles.sh.in b/sh/tmpfiles.sh.in index ae7b7ca4..a5041bb8 100755 --- a/sh/tmpfiles.sh.in +++ b/sh/tmpfiles.sh.in @@ -232,7 +232,7 @@ if [ $(( CLEAN )) -eq 1 ] ; then exit 1 fi -if [ $(( CREATE + REMOVE )) -ne 1 ] ; then +if [ "$CREATE$REMOVE" == '00' ]; then printf 'usage: %s [--create] [--remove] [--clean] [--verbose] [--dry-run]\n' "${0##*/}" exit 1 fi -- cgit v1.2.3