aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar rincewind <rincewind@vulgrim.de> 2021-07-05 09:56:19 +0200
committerGravatar rincewind <rincewind@vulgrim.de> 2021-07-05 09:56:19 +0200
commit10db89344adc7dad1d1ec4ac00e4fadc6b79fa72 (patch)
treee7200bac92680dfc3ecdf67b1942c8b141398e41
parent53b77dee91f780b4d78839f881c642189b829e3c (diff)
downloadmonitoring-plugins-10db89344adc7dad1d1ec4ac00e4fadc6b79fa72.tar.gz
Add quoting for the remaining variables
-rwxr-xr-xplugins-scripts/check_log.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh
index 8af07b5e..382bd72c 100755
--- a/plugins-scripts/check_log.sh
+++ b/plugins-scripts/check_log.sh
@@ -77,7 +77,7 @@ print_usage() {
}
print_help() {
- print_revision "$PROGNAME" $REVISION
+ print_revision "$PROGNAME" "$REVISION"
echo ""
print_usage
echo ""
@@ -111,11 +111,11 @@ while test -n "$1"; do
exit "$STATE_OK"
;;
--version)
- print_revision "$PROGNAME" $REVISION
+ print_revision "$PROGNAME" "$REVISION"
exit "$STATE_OK"
;;
-V)
- print_revision "$PROGNAME" $REVISION
+ print_revision "$PROGNAME" "$REVISION"
exit "$STATE_OK"
;;
--filename)