Skip to content
Snippets Groups Projects
Commit 2cbc0267 authored by Robert Ricci's avatar Robert Ricci
Browse files

Add a very long sleep(), to make sure we don't return before the node finishes

shutting down.
parent 84fdd87c
Branches
Tags
No related merge requests found
...@@ -545,6 +545,12 @@ sub dodelays () ...@@ -545,6 +545,12 @@ sub dodelays ()
else { else {
system("sync"); system("sync");
system("reboot"); system("reboot");
#
# Make sure that, even if the reboot command returns
# before the node is totally down, this process doesn't
# exit (otherwise, we would proceed with testbed setup)
#
sleep(10000);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment