From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F26951381F3 for ; Mon, 5 Nov 2012 21:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6006F21C04D; Mon, 5 Nov 2012 21:36:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B42F221C055 for ; Mon, 5 Nov 2012 21:36:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 091A033D852 for ; Mon, 5 Nov 2012 21:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A8511E544D for ; Mon, 5 Nov 2012 21:36:38 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1352151370.e473ab968c70edbbaa6e1ce2d7b8046400609304.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:openrc-0.11.x commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/tmpfiles.sh.in X-VCS-Directories: sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e473ab968c70edbbaa6e1ce2d7b8046400609304 X-VCS-Branch: openrc-0.11.x Date: Mon, 5 Nov 2012 21:36:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 654837b9-a327-4718-8820-3e46aaae5c19 X-Archives-Hash: bbc0c1acc4d946dedb3371624199635b commit: e473ab968c70edbbaa6e1ce2d7b8046400609304 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Nov 5 21:25:32 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Nov 5 21:36:10 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e473ab96 tmpfilesd: Doing both create+remove at the same time is valid. Signed-off-by: Robin H. Johnson gentoo.org> --- 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 ae7b7ca..a5041bb 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