scripts: Stop redirecting output of onnode command
authorAmitay Isaacs <amitay@gmail.com>
Tue, 21 Aug 2012 02:11:27 +0000 (12:11 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 21 Aug 2012 02:11:27 +0000 (12:11 +1000)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
base/all/root/scripts/setup_cluster.sh

index 74a108cea659e390acc686b1f2f42c53705b3e5d..5294de45b45a3394839a0377d0ac5f8af7269f74 100755 (executable)
@@ -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"