Commit 6356721e authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Bugfix: Check for feature existence using FeatureEnabled rather than Lookup

parent 8e811b00
......@@ -41,8 +41,8 @@ my $exports_setup = "$TB/sbin/exports_setup";
my $dhcpd_rc = "/usr/local/etc/rc.d/";
my $feature = EmulabFeatures->Lookup("ScriptNewNodes");
my $useScriptFeature = defined($feature) && $feature->enabled();
my $useScriptFeature = EmulabFeatures->FeatureEnabled("ScriptNewNodes", undef,
undef, undef);
# MFS to boot the nodes into initially
Supports Markdown
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