diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2016-12-20 10:42:31 +0530 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-12-21 04:51:24 -0800 |
commit | 8b42e1b5688f8600086ecc0e33ac4abf5e7c2772 (patch) | |
tree | 7602b09e41da14a39dc979783b99d79c4f58efe7 | |
parent | 8094e5005fbe9016ae039003bcc617d1172385b3 (diff) |
ganesha/scripts : Prevent removal of entries in ganesha.conf during deletion of a node
Change-Id: Ia6c653eeb9bef7ff4107757f845218c2316db2e4
BUG: 1406249
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/16209
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: soumya k <skoduri@redhat.com>
-rw-r--r-- | extras/ganesha/scripts/ganesha-ha.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh index 31d1e70f82c..43bc10bf069 100644 --- a/extras/ganesha/scripts/ganesha-ha.sh +++ b/extras/ganesha/scripts/ganesha-ha.sh @@ -949,8 +949,8 @@ create_ganesha_conf_file() else # Restoring previous file rm -rf $GANESHA_CONF - sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d' $HA_CONFDIR/ganesha.conf cp $HA_CONFDIR/ganesha.conf $GANESHA_CONF + sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d' $GANESHA_CONF fi } |