summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-08-21 12:11:27 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-08-21 12:11:27 +1000
commit7863e9927bbb2b9cb6d67a485be472261159053d (patch)
treeaea1f5d7b2c4b41c7cc49ba9416d00cec7d1b1cc
parent9869b4f9b1435a2b9863b1825021f73c0a5e3ea7 (diff)
downloadautocluster-7863e9927bbb2b9cb6d67a485be472261159053d.tar.gz
autocluster-7863e9927bbb2b9cb6d67a485be472261159053d.tar.xz
autocluster-7863e9927bbb2b9cb6d67a485be472261159053d.zip
scripts: Stop redirecting output of onnode command
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-xbase/all/root/scripts/setup_cluster.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/all/root/scripts/setup_cluster.sh b/base/all/root/scripts/setup_cluster.sh
index 74a108c..5294de4 100755
--- a/base/all/root/scripts/setup_cluster.sh
+++ b/base/all/root/scripts/setup_cluster.sh
@@ -93,14 +93,14 @@ case "$auth_type" in
esac
echo "Restarting ctdb"
-onnode -p all "service ctdb restart > /dev/null"
+onnode -p all "service ctdb restart"
# let's hit this with a big hammer...
for i in $(seq 1 5) ; do
echo "Waiting until healthy"
wait_until_healthy 60 && break
echo "Nope, restart ctdb..."
- onnode -p all "service ctdb restart > /dev/null"
+ onnode -p all "service ctdb restart"
done
echo "Waiting for cluster to become healthy"