diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-06-22 15:11:18 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2012-06-22 15:11:18 (GMT) |
commit | e6df238350588afd93f11501c4c673b07c9733a4 (patch) | |
tree | 14d75661adbb5e0046163a00c983721ebdd4bda8 /gl/dirname.c | |
parent | 4d5276273287ef59881b541ba96279e91974a4b2 (diff) | |
download | monitoring-plugins-e6df238350588afd93f11501c4c673b07c9733a4.tar.gz |
Fix check_by_ssh test for non-Bash login shells
In the C shell and in the Z shell, the "?" character must be quoted or
backslash-escaped in order to use it verbatim. Therefore, a command
such as
check_by_ssh -H test.example.com -l joe echo huh?
might fail, depending on joe's login shell on test.example.com.
Just to make sure, this commit removes most punctuation characters from
our test strings.
Diffstat (limited to 'gl/dirname.c')
0 files changed, 0 insertions, 0 deletions