diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-08-22 12:26:28 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-22 12:26:28 +0200 |
commit | e3d94b0d11acb6946df5b03b60c7f2beffaacce7 (patch) | |
tree | 1bfd66ad6f726bfb61c00d11d1be779dabd11b55 /bin | |
parent | 92cb53ce3be590c63285135ebac3d195372c75d4 (diff) | |
download | jenkins.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-x | bin/jenkins_node_wrapper.sh | 2 |
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"; |