summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-tests
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemuimage-tests')
-rwxr-xr-xscripts/qemuimage-tests/sanity/shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-tests/sanity/shutdown b/scripts/qemuimage-tests/sanity/shutdown
index d55c859410..c9e931c4c2 100755
--- a/scripts/qemuimage-tests/sanity/shutdown
+++ b/scripts/qemuimage-tests/sanity/shutdown
@@ -45,7 +45,7 @@ if [ $RET -eq 0 ]; then
45 # If qemu start up process ends up, it means shutdown completes 45 # If qemu start up process ends up, it means shutdown completes
46 while [ $i -lt $TIMEOUT ] 46 while [ $i -lt $TIMEOUT ]
47 do 47 do
48 ps -fp $PID > /dev/null 48 ps -fp $QEMUPID > /dev/null 2> /dev/null
49 if [ $? -ne 0 ]; then 49 if [ $? -ne 0 ]; then
50 RET=0 50 RET=0
51 break 51 break