close(FILE);
if ($restartsnortrequired) {
- system('/usr/local/bin/snortctrl','restart');
+ system('/usr/local/bin/snortctrl restart >/dev/null');
}
}
unlink "${General::swroot}/snort/enable_orange";
}
- system('/usr/local/bin/snortctrl','restart');
+ system('/usr/local/bin/snortctrl restart >/dev/null');
} else {
# INSTALLMD5 is not in the form, so not retrieved by getcgihash