diff options
author | rincewind <rincewind@vulgrim.de> | 2021-07-05 07:56:19 (GMT) |
---|---|---|
committer | rincewind <rincewind@vulgrim.de> | 2021-07-05 07:56:19 (GMT) |
commit | 10db89344adc7dad1d1ec4ac00e4fadc6b79fa72 (patch) | |
tree | e7200bac92680dfc3ecdf67b1942c8b141398e41 | |
parent | 53b77dee91f780b4d78839f881c642189b829e3c (diff) | |
download | monitoring-plugins-10db89344adc7dad1d1ec4ac00e4fadc6b79fa72.tar.gz |
Add quoting for the remaining variablesrefs/pull/1692/head
-rwxr-xr-x | plugins-scripts/check_log.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 8af07b5..382bd72 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -77,7 +77,7 @@ print_usage() { | |||
77 | } | 77 | } |
78 | 78 | ||
79 | print_help() { | 79 | print_help() { |
80 | print_revision "$PROGNAME" $REVISION | 80 | print_revision "$PROGNAME" "$REVISION" |
81 | echo "" | 81 | echo "" |
82 | print_usage | 82 | print_usage |
83 | echo "" | 83 | echo "" |
@@ -111,11 +111,11 @@ while test -n "$1"; do | |||
111 | exit "$STATE_OK" | 111 | exit "$STATE_OK" |
112 | ;; | 112 | ;; |
113 | --version) | 113 | --version) |
114 | print_revision "$PROGNAME" $REVISION | 114 | print_revision "$PROGNAME" "$REVISION" |
115 | exit "$STATE_OK" | 115 | exit "$STATE_OK" |
116 | ;; | 116 | ;; |
117 | -V) | 117 | -V) |
118 | print_revision "$PROGNAME" $REVISION | 118 | print_revision "$PROGNAME" "$REVISION" |
119 | exit "$STATE_OK" | 119 | exit "$STATE_OK" |
120 | ;; | 120 | ;; |
121 | --filename) | 121 | --filename) |