From: Ian Jackson Subject: [PATCH 07/13] ts-*: make all target_cmd[_root] set -e (or +e) Date: Mon, 25 Nov 2013 17:43:56 +0000 Message-ID: <1385401442-17782-8-git-send-email-ian.jackson@eu.citrix.com> References: <1385401442-17782-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vl0D7-0004MH-K4 for xen-devel@lists.xenproject.org; Mon, 25 Nov 2013 17:44:37 +0000 In-Reply-To: <1385401442-17782-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell , Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Jackson --- ts-redhat-install | 3 ++- ts-xen-install | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ts-redhat-install b/ts-redhat-install index 3aa8864..a945033 100755 --- a/ts-redhat-install +++ b/ts-redhat-install @@ -131,6 +131,7 @@ sub prep () { -boot-info-table); target_cmd_root($ho, < 'preserve', PostImageHook => sub { target_cmd_root($ho, <{Rimage} /mnt diff --git a/ts-xen-install b/ts-xen-install index 70b9e22..fc96516 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -256,6 +256,7 @@ END sub forbidden () { target_cmd_root($ho, <<'END'); + set +e outcome=true for f in /usr/local/etc/* /usr/local/var/*; do if test -e "$f"; then -- 1.7.10.4