Commit 03dad4fa authored by Leigh Stoller's avatar Leigh Stoller

Enable adminflag toggle for all, not just GENIRACK=1

parent d32fab1e
......@@ -126,7 +126,7 @@ elseif ($type == "webfreeze") {
}
elseif ($type == "adminflag") {
# This is active on geni racks only.
if (!$GENIRACK) {
if (1 || !$GENIRACK) {
USERERROR("This toggle is disabled on non-geni racks!", 1);
}
# must be admin
......
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