summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_node_health_check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index 2e13f4d7..41139580 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -78,7 +78,8 @@ fi
# check for hanging mounts
#
echo "$(date -u) - testing whether running 'mount' takes forever..."
-TIMEOUT=$(timeout 15 mount)
+timeout 15 mount
+TIMEOUT=$?
if [ $TIMEOUT -ne 0 ] ; then
echo "$(date -u) - running 'mount' takes forever, giving up."
exit 1