diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-14 14:46:04 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-14 14:46:04 +0100 |
commit | c55d78193fd0615f37658fe1360af6332a127354 (patch) | |
tree | 21e298c4e061db8ab7c4737561b239b4e691ed50 /stubdom | |
parent | 063aa7f82329f9aa3e9a1a92968954602192fa35 (diff) | |
download | xen-c55d78193fd0615f37658fe1360af6332a127354.tar.gz xen-c55d78193fd0615f37658fe1360af6332a127354.tar.bz2 xen-c55d78193fd0615f37658fe1360af6332a127354.zip |
stubdom: fix stubdom-dm error path
Exit the shell and not a subshell.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'stubdom')
-rw-r--r-- | stubdom/stubdom-dm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm index c138e00945..8faca31843 100644 --- a/stubdom/stubdom-dm +++ b/stubdom/stubdom-dm @@ -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 |