summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-08-22 12:26:28 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-22 12:26:28 +0200
commite3d94b0d11acb6946df5b03b60c7f2beffaacce7 (patch)
tree1bfd66ad6f726bfb61c00d11d1be779dabd11b55 /bin
parent92cb53ce3be590c63285135ebac3d195372c75d4 (diff)
downloadjenkins.debian.net-e3d94b0d11acb6946df5b03b60c7f2beffaacce7.tar.xz
fixup 92cb53c: reproducible Debian: improve node check to also test whether the node is in an broken state (read-only fs)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
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";