To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 7eca4cd1 authored by Axel Beckert's avatar Axel Beckert

Local check exits with exit-code ≠ zero if it found something

Suggestion by Dan Hochstrasser
parent aea0d354
......@@ -12,7 +12,9 @@ How it works
`ioc-local-check.pl` is the actual check which runs on the system
being checks. It checks for known file IOCs and Linux kernel module
IOCs as well as for generic Diamorphine based kernel modules of
unknown name.
unknown name. It makes output to STDOUT and exits with exit-code ≠ 0
if it found something. (If `-v` for verbose is given, it always
outputs something.)
`ioc-remote-check.sh` copies `ioc-local-check.pl` to all to-be-checked
systems via scp, calls it, and removes it again. Currently only
......
......@@ -129,3 +129,5 @@ if ($verbose) {
print "$hostname: FOUND $found IOCs\n";
}
}
exit $found;
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