From d1049641a7493e425f190083276731963b422ccd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 23 Oct 2017 13:11:28 +0200 Subject: bin/slave-build-connect: whoops, bugfix --- bin/slave-build-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2