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>
This commit is contained in:
parent
8094e5005f
commit
8b42e1b568
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user