Commit eee4f910 authored by Mike Hibler's avatar Mike Hibler

Fail with an error if we don't understand our role.

parent 41b271cd
......@@ -565,6 +565,9 @@ sub doboot()
elsif ($emulabconfig{"ROLE"} eq "opsjail") {
SetupOpsJail();
}
else {
fatal("Do not recognize role '", $emulabconfig{"ROLE"}, "'!\n";
}
print "Done!\n";
return 0;
}
......
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