summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_ftp.t
diff options
context:
space:
mode:
authorlgmu <80966566+lgmu@users.noreply.github.com>2023-01-19 11:33:25 +0100
committerSven Nierlein <sven@nierlein.org>2023-01-20 09:11:26 +0100
commitdb1f87c39e0ff0d76d13babfcbb332c4cc3ad0fe (patch)
tree07af50a233d55c38a6a22ffa460de159270ebf17 /plugins/t/check_ftp.t
parentf4930aee28ccb664691809e7dcc9198eb81429c5 (diff)
downloadmonitoring-plugins-db1f87c.tar.gz
Added --exclude, cleanup args, fix -a count bug
Added --exclude to exclude patterns Cleaned up duplicated code in the args Fixed a bug when using --all because the count always returned "1" even when nothing matched entry=$($GREP "$query" "$tempdiff") count=$(echo "$entry" | wc -l) Example: $ touch testfile $ TEST123=$(grep 'test' testfile) $ echo "$TEST123" | wc -l 1
Diffstat (limited to 'plugins/t/check_ftp.t')
0 files changed, 0 insertions, 0 deletions