Commit 99ef4056 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor change to hackwaitandexit() for fakejails.

parent af1554b5
......@@ -836,9 +836,13 @@ sub hackwaitandexit()
if (-e "/vservers") {
$goofy = "/vservers/$vnodeid/var/run/emulab-watchdog.pid";
}
elsif ($fakevnode) {
$goofy = CONFDIR() . "/evproxy.pid";
}
else {
$goofy = CONFDIR() . "/root/var/run/emulab-watchdog.pid";
}
#print "hackwaitandexit: waiting for $goofy to appear\n";
while ($count--) {
sleep(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment