[Qa-jenkins-scm] [jenkins.debian.net] 01/01: allow the exact command used

Holger Levsen holger at moszumanska.debian.org
Mon Aug 31 13:09:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9ce7e23e628dcc52ae3a8612ba09c44fef1f531d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 15:09:18 2015 +0200

    allow the exact command used
---
 bin/jenkins_node_wrapper.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 3334d3b..fc4474a 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)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list