diff options
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/ganesha/scripts/ganesha-ha.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh index bd344fa50f1..684b8bf679d 100755 --- a/extras/ganesha/scripts/ganesha-ha.sh +++ b/extras/ganesha/scripts/ganesha-ha.sh @@ -246,7 +246,8 @@ teardown_clean_etccluster() if [ -e /var/lib/glusterd/nfs/secret.pem ]; then while [[ ${1} ]]; do if [ ${short_host} != ${1} ]; then - ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/nfs/secret.pem ${1} rm -f /etc/cluster/cluster.* + ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/nfs/secret.pem ${1} \ +rm -f /etc/cluster/cluster.* rm -f /var/lib/pacemaker/cib/* if [ $? -ne 0 ]; then logger "warning: ssh ${1} rm -f /etc/cluster/cluster.* failed" fi |