summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJacob Hansen <jhansen@op5.com>2021-05-19 13:13:47 +0200
committerJacob Hansen <jhansen@op5.com>2021-05-19 13:36:04 +0200
commit0bbcb60f02d6f78561f684adb0294870a3522e4f (patch)
treed9ce1ec175d2b75280a08754a75191ad5d05ef94 /lib
parent227369bb3bec2a44ebece952a9085bfb032a7a0e (diff)
downloadmonitoring-plugins-0bbcb60f02d6f78561f684adb0294870a3522e4f.tar.gz
Refactor check_fping
* Set correct amount of tests based on conditionals. * When running the test as non-root, we would previously check is the setuid bit is set. This doesn't seem to be needed, so just check if the binary is executable for the user running the test. * Use cmp_ok to check if tests succeeds rather than couting. Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions