projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rachmaninoff to buster
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-log-age-loghost
diff --git
a/dsa-nagios-checks/checks/dsa-check-log-age-loghost
b/dsa-nagios-checks/checks/dsa-check-log-age-loghost
index
391f330
..
afec811
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-log-age-loghost
+++ b/
dsa-nagios-checks/checks/dsa-check-log-age-loghost
@@
-33,7
+33,7
@@
if [ -z "$host" ] || [ "$host" = "-h" ] || [ "$host" = "--help" ]; then
usage 3
fi
-if [ "${host/[^a-z0-9]/}" != "$host" ]; then
+if [ "${host/[^a-z0-9
-
]/}" != "$host" ]; then
echo >&2 "$0: Invalid hostname $1"
exit 3
fi