summaryrefslogtreecommitdiffstats
path: root/lib/tests/var/oldformat
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2023-10-26 09:26:41 (GMT)
committerSven Nierlein <sven@consol.de>2023-10-26 09:26:41 (GMT)
commit03bde80abbda6fba2225568c3285a2ff2b5445a8 (patch)
treec617e578c982daab56a0a94fa627a3b5f7efe31b /lib/tests/var/oldformat
parentdb76f6867c8e6af44eebb85fef0e5ac4e10c65c6 (diff)
downloadmonitoring-plugins-03bde80abbda6fba2225568c3285a2ff2b5445a8.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 'lib/tests/var/oldformat')
0 files changed, 0 insertions, 0 deletions