stubdom: fix stubdom-dm
PATCH 1/1 stubdom: fix stubdom-dm
Hi!
Attached patch fixes error path in stubdom-dm:
Exit the shell and not a subshell.
Signed-off-by Christoph Egger <[email protected]>
Keir: Please apply this to Xen 3.4-testing and Xen 3.3-testing, too.
Signature · 6 lines
---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
stubdom/stubdom-dm +2 -2
@@ -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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel