summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-31 15:09:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-31 15:09:18 +0200
commit9ce7e23e628dcc52ae3a8612ba09c44fef1f531d (patch)
treeda6176ad98f36ac2bceb797d76232ec4b8f07b57 /bin
parent7976b7a967b47a041bff2878c54e7c203a3fa5df (diff)
downloadjenkins.debian.net-9ce7e23e628dcc52ae3a8612ba09c44fef1f531d.tar.xz
allow the exact command used
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 3334d3bf..fc4474a5 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -59,8 +59,8 @@ info "remote_host called with $*"
allowed_cmds=()
-if [[ "$*" =~ /bin/nc\ -q\ 0\ localhost\ 4949 ]] ; then
- exec nc -q 0 localhost 4949 ; croak "Exec failed";
+if [[ "$*" =~ /bin/nc\ localhost\ 4949 ]] ; then
+ exec nc localhost 4949 ; croak "Exec failed";
elif [[ "$*" =~ rebootstrap_.* ]] ; then
REBOOTSTRAPSH="/srv/jenkins/bin/chroot-run.sh sid minimal ./bootstrap.sh"
REBOOTSTRAPSH="$REBOOTSTRAPSH HOST_ARCH=$(echo $1 | cut -d "_" -f2)"