summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlgmu <80966566+lgmu@users.noreply.github.com>2023-01-19 11:37:45 +0100
committerSven Nierlein <sven@nierlein.org>2023-01-20 09:11:26 +0100
commitb153a8c499802c2fdba199e84f5f7426ff4c0748 (patch)
tree4d26e52112addeb846154a3fd4ac8f3e09c2cb9e
parentdb1f87c39e0ff0d76d13babfcbb332c4cc3ad0fe (diff)
downloadmonitoring-plugins-b153a8c.tar.gz
Fix indents
-rwxr-xr-xplugins-scripts/check_log.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh
index 1ea70b56..c623a8d6 100755
--- a/plugins-scripts/check_log.sh
+++ b/plugins-scripts/check_log.sh
@@ -153,18 +153,18 @@ done
153 153
154# Parameter sanity check 154# Parameter sanity check
155if [ $ERE ] && [ $PRE ] ; then 155if [ $ERE ] && [ $PRE ] ; then
156 echo "Can not use extended and perl regex at the same time" 156 echo "Can not use extended and perl regex at the same time"
157 exit "$STATE_UNKNOWN" 157 exit "$STATE_UNKNOWN"
158fi 158fi
159 159
160GREP="grep" 160GREP="grep"
161 161
162if [ $ERE ]; then 162if [ $ERE ]; then
163 GREP="grep -E" 163 GREP="grep -E"
164fi 164fi
165 165
166if [ $PRE ]; then 166if [ $PRE ]; then
167 GREP="grep -P" 167 GREP="grep -P"
168fi 168fi
169 169
170# If the source log file doesn't exist, exit 170# If the source log file doesn't exist, exit