summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-23 13:11:28 +0200
committerErich Eckner <git@eckner.net>2017-10-23 13:11:28 +0200
commitd1049641a7493e425f190083276731963b422ccd (patch)
tree1f1ac1e277db8776489bacf7ec81d606dfa768d5
parent001b21871c61e3a13a949173e429f86ea362959d (diff)
downloadbuilder-d1049641a7493e425f190083276731963b422ccd.tar.xz
bin/slave-build-connect: whoops, bugfix
-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