summaryrefslogtreecommitdiff
path: root/bin/slave-build-connect
diff options
context:
space:
mode:
Diffstat (limited to 'bin/slave-build-connect')
-rwxr-xr-xbin/slave-build-connect2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/slave-build-connect b/bin/slave-build-connect
index 84abba1..a3fdc5d 100755
--- a/bin/slave-build-connect
+++ b/bin/slave-build-connect
@@ -8,7 +8,7 @@ if [ "${SSH_ORIGINAL_COMMAND%% *}" = "get-assignment" ] || \
# small check to prevent some shell-injections
if echo "${SSH_ORIGINAL_COMMAND}" | \
- grep -q '[^-a-zA-Z0-9.+_]'; then
+ grep -q '[^-a-zA-Z0-9.+_ ]'; then
>&2 printf 'Invalid command: "%s".\n' "${SSH_ORIGINAL_COMMAND}"
exit 42