Commit 5d77ed63 authored by Leigh Stoller's avatar Leigh Stoller

Minor change to previous revision for IG created experiments.

parent c33b8fa5
......@@ -251,7 +251,7 @@ if (!defined($gid)) {
if (!defined($description)) {
$description = "Created by $user_uid";
}
if (!$swappable && !TBAdmin()) {
if (!$swappable && !(TBAdmin() || $genimode)) {
tbdie("Only testbed admins can disable swapping!");
}
if (! $swappable && (!defined($noswap_reason) || $noswap_reason eq "")) {
......
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