this seems to improve the non-rebooting situation
[xfstests-dev.git] / tools / auto-qa
index 09b2fec4e5592a5adf99fd056abac8f2cfd61be7..a4e07c5211c6b57ea522e20c68490d8b96f52803 100755 (executable)
@@ -192,7 +192,7 @@ _sudo()
 
 _restart()
 {
-    exec $ROOT/su -c "shutdown -r 2 \"auto-qa rebooting\" &" < /dev/null
+    exec $ROOT/su -c "(shutdown -r 2 \"auto-qa rebooting\" ; reboot )&" < /dev/null
 }
 
 _update_autoqa_file()