]> xenbits.xensource.com Git - xen.git/commitdiff
stubdom: Fix quotes in stub domain creation
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 5 Apr 2008 21:19:02 +0000 (22:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 5 Apr 2008 21:19:02 +0000 (22:19 +0100)
by using the same as in debug mode.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
stubdom/stubdom-dm

index 03fbd3ba0dfab447a292bb2a69b1b89ceca58b66..49df178fcba682267f0d3622632a557a7b949192 100644 (file)
@@ -74,7 +74,7 @@ done
 
 creation="xm create -c stubdom-$domname target=$domid memory=32 extra=\"$extra\""
 
-(while true ; do sleep 60 ; done) | $creation &
+(while true ; do sleep 60 ; done) | /bin/sh -c "$creation" &
 #xterm -geometry +0+0 -e /bin/sh -c "$creation ; echo ; echo press ENTER to shut down ; read" &
 consolepid=$!