summaryrefslogtreecommitdiffstats
path: root/REQUIREMENTS
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2023-10-26 11:26:41 +0200
committerSven Nierlein <sven@consol.de>2023-10-26 11:26:41 +0200
commit03bde80abbda6fba2225568c3285a2ff2b5445a8 (patch)
treec617e578c982daab56a0a94fa627a3b5f7efe31b /REQUIREMENTS
parentdb76f6867c8e6af44eebb85fef0e5ac4e10c65c6 (diff)
downloadmonitoring-plugins-03bde80.tar.gz
check_mailq: exit on empty strings and exit early
in case of $utils::PATH_TO_MAILQ beeing an empty string, the "defined" is still true and leads to misleading error messages. While on it, rewrite cascaded if/elsifs to more readably exit-early ifs.
Diffstat (limited to 'REQUIREMENTS')
0 files changed, 0 insertions, 0 deletions