All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 3b4c60eb authored by Mike Hibler's avatar Mike Hibler

redirect stderr so we don't see expected messages about unimplemented

sysctls
parent 678af160
......@@ -28,7 +28,7 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
#
# Handle old style
#
if (system("sysctl -w net.inet.icmp.ipod_enabled=0 >/dev/null") == 0) {
if (system("sysctl -w net.inet.icmp.ipod_enabled=0 >/dev/null 2>&1") == 0) {
my ($bname, $bip) = split(/ /, `tmcc bossinfo`);
if (!defined($bip)) {
warn "*** WARNING: could not determine boss node, IPOD not enabled\n";
......@@ -55,7 +55,7 @@ if (system("sysctl -w net.inet.icmp.ipod_enabled=0 >/dev/null") == 0) {
#
# New style
#
if (system("sysctl -w net.inet.icmp.ipod.enabled=0 >/dev/null")) {
if (system("sysctl -w net.inet.icmp.ipod.enabled=0 >/dev/null 2>&1")) {
warn "*** WARNING: IPOD sysctls not supported, not enabled\n";
exit -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