summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminimunin4
1 files changed, 2 insertions, 2 deletions
diff --git a/minimunin b/minimunin
index 9319f6b..a36372f 100755
--- a/minimunin
+++ b/minimunin
@@ -18,8 +18,8 @@ main() {
18 while read command arg; do 18 while read command arg; do
19 19
20 # chomp 20 # chomp
21 command=`printf %s "${command}" | /usr/bin/tr -d '\r'` 21 command=`printf %s "${command}" | /usr/bin/tr -cd '[:alnum:]_-. '`
22 arg=`printf %s "${arg}" | /usr/bin/tr -d '\r'` 22 arg=`printf %s "${arg}" | /usr/bin/tr -cd '[:alnum:]_-. '`
23 23
24 # printf "%s %s\n" "$command" "$arg" >> /var/log/minimunin.log 24 # printf "%s %s\n" "$command" "$arg" >> /var/log/minimunin.log
25 # dispatch commands 25 # dispatch commands