NFS-Ganesha : Exporting volume fails
Due to a recent fix, the dbus-send.sh looked for a .export_added file even before it was created. This resulted in the ganesha.enable option failing consistently. Fixing it. Change-Id: I26a68578551b6e38e49a9997e6f6f983fd668971 BUG: 1236561 Signed-off-by: Meghana M <mmadhusu@redhat.com> Reviewed-on: http://review.gluster.org/11456 Reviewed-by: soumya k <skoduri@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
parent
b7b2b14c1f
commit
64f36a04d0
@ -22,7 +22,7 @@ function check_cmd_status()
|
||||
function dynamic_export_add()
|
||||
{
|
||||
count=`ls -l $GANESHA_DIR/exports/*.conf | wc -l`
|
||||
if [ "$count" = "0" ] ;
|
||||
if [ "$count" = "1" ] ;
|
||||
then
|
||||
EXPORT_ID=2
|
||||
else
|
||||
|
@ -61,7 +61,7 @@ function write_conf()
|
||||
function export_add()
|
||||
{
|
||||
count=`ls -l $GANESHA_DIR/exports/*.conf | wc -l`
|
||||
if [ "$count" = "0" ] ;
|
||||
if [ "$count" = "1" ] ;
|
||||
then
|
||||
EXPORT_ID=2
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user