From: Christoph Egger Subject: [PATCH] stubdom: fix stubdom-dm Date: Tue, 14 Jul 2009 10:53:36 +0200 Message-ID: <200907141053.36478.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_QeEXKaI7uxLFvS3" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_QeEXKaI7uxLFvS3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! Attached patch fixes error path in stubdom-dm: Exit the shell and not a subshell. Signed-off-by: Christoph Egger Keir: Please apply this to Xen 3.4-testing and Xen 3.3-testing, too. -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_QeEXKaI7uxLFvS3 Content-Type: text/x-diff; charset="us-ascii"; name="xen_stubdom-dm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_stubdom-dm.diff" diff -r 82c6d0b8852e stubdom/stubdom-dm --- a/stubdom/stubdom-dm Mon Jul 13 16:50:53 2009 +0100 +++ b/stubdom/stubdom-dm Tue Jul 14 10:50:39 2009 +0200 @@ -74,8 +74,8 @@ do shift done -[ -z "$domid" ] && ( echo "couldn't find domain ID" ; exit 1 ) -[ -z "$domname" ] && ( echo "couldn't find domain name" ; exit 1 ) +[ -z "$domid" ] && { echo "couldn't find domain ID" ; exit 1; } +[ -z "$domname" ] && { echo "couldn't find domain name" ; exit 1; } # Termination handler --Boundary-00=_QeEXKaI7uxLFvS3 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_QeEXKaI7uxLFvS3--