summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_node_health_check.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-07-15 14:25:01 +0200
committerHolger Levsen <holger@layer-acht.org>2017-07-15 14:25:01 +0200
commit87f8632536c800f8e6d0a3a64a035356023df190 (patch)
treef29ea9c35775104bebd572da663494f074c5bc5d /bin/reproducible_node_health_check.sh
parent9b381aff743a88c9ebc2e400a345ee836a25bd7e (diff)
downloadjenkins.debian.net-87f8632536c800f8e6d0a3a64a035356023df190.tar.xz
reproducible Debian: fixup
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_node_health_check.sh')
-rwxr-xr-xbin/reproducible_node_health_check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index cc87584f..97ccbe78 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -155,12 +155,12 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
#
# /var/log/jenkins/jenkins.log sometimes grows very fast
# and we don't yet know why, so let's monitor this for now.
- JENKINSLOG="find /var/log/jenkins -name jenkins.log -size +42G"
+ JENKINSLOG="$(find /var/log/jenkins -name jenkins.log -size +42G)"
if [ -z "JENKINSLOG" ] ; then
echo "Warning, jenkins.log is larger than 42G, please fix, erroring out now."
exit 1
else
- JENKINSLOG="find /var/log/jenkins -name jenkins.log -size +23G"
+ JENKINSLOG="$(find /var/log/jenkins -name jenkins.log -size +23G)"
if [ -z "JENKINSLOG" ] ; then
echo "Warning, jenkins.log is larger than 23G, please do something…"
DIRTY=true