From e3d94b0d11acb6946df5b03b60c7f2beffaacce7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 22 Aug 2016 12:26:28 +0200 Subject: fixup 92cb53c: reproducible Debian: improve node check to also test whether the node is in an broken state (read-only fs) --- bin/jenkins_node_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index cd7b3369..d63b69bd 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -60,7 +60,7 @@ allowed_cmds=() if [[ "$*" = "/bin/true" ]] ; then exec /bin/true ; croak "Exec failed"; -elif [[ "$*" = "rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX)" ]] ; then +elif [[ "$*" = 'rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX)' ]] ; then exec rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX) ; croak "Exec failed"; elif [[ "$*" = "cleanup_nodes /srv/jenkins/bin/reproducible_slay.sh" ]] ; then exec /srv/jenkins/bin/reproducible_slay.sh ; croak "Exec failed"; -- cgit v1.2.3-70-g09d2