OSDN Git Service

Wait is put and waited for before the container is stopped.
[lxcf/lxcf.git] / lxcf / lib / lxcf-reboot
index ec38f9a..9361991 100755 (executable)
@@ -72,6 +72,7 @@ lxcf_reboot1() {
 
   /usr/bin/virsh -c lxc:/// shutdown ${LXCNAME}
 
+  wait
   if [ x$DISTRO == x"u" ]; then
     /usr/lib64/lxcf/lxcf-kill-container $LXCNAME
   fi