diff options
author | lgmu <80966566+lgmu@users.noreply.github.com> | 2023-01-19 11:37:45 +0100 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2023-01-20 09:11:26 +0100 |
commit | b153a8c499802c2fdba199e84f5f7426ff4c0748 (patch) | |
tree | 4d26e52112addeb846154a3fd4ac8f3e09c2cb9e /plugins-scripts | |
parent | db1f87c39e0ff0d76d13babfcbb332c4cc3ad0fe (diff) | |
download | monitoring-plugins-b153a8c.tar.gz |
Fix indents
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_log.sh | 8 |
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 |
155 | if [ $ERE ] && [ $PRE ] ; then | 155 | if [ $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" |
158 | fi | 158 | fi |
159 | 159 | ||
160 | GREP="grep" | 160 | GREP="grep" |
161 | 161 | ||
162 | if [ $ERE ]; then | 162 | if [ $ERE ]; then |
163 | GREP="grep -E" | 163 | GREP="grep -E" |
164 | fi | 164 | fi |
165 | 165 | ||
166 | if [ $PRE ]; then | 166 | if [ $PRE ]; then |
167 | GREP="grep -P" | 167 | GREP="grep -P" |
168 | fi | 168 | fi |
169 | 169 | ||
170 | # If the source log file doesn't exist, exit | 170 | # If the source log file doesn't exist, exit |