diff options
| author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-05 21:25:32 +0000 | 
|---|---|---|
| committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-05 21:25:32 +0000 | 
| commit | 4936b72e0f0d20168473df9a4598b8159245d45b (patch) | |
| tree | e2a0821675ff315c16df7f7b4e0a3597ec9c2feb /sh | |
| parent | 5cf5308ab430c60e21bb769f8ee0d860ee15c497 (diff) | |
| download | openrc-4936b72e0f0d20168473df9a4598b8159245d45b.tar.xz | |
tmpfilesd: Doing both create+remove at the same time is valid.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/tmpfiles.sh.in | 2 | 
1 files changed, 1 insertions, 1 deletions
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  | 
