summaryrefslogtreecommitdiffstats
path: root/extras/ganesha
diff options
context:
space:
mode:
authorMeghana M <mmadhusu@redhat.com>2015-06-29 06:16:47 +0530
committerNiels de Vos <ndevos@redhat.com>2015-06-30 03:01:52 -0700
commitfb720559a8d643e171023f971aa5d87ca5c803dc (patch)
tree2b99398502169f5121c7ddf68f50a6d11a74f9af /extras/ganesha
parent7d22aa386d0ef30689da86e71e5390b3066192e1 (diff)
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. This is a backport of the fix in master, http://review.gluster.org/#/c/11456/ Change-Id: I9658ff8eced405eed7a26fab334f7172171133e8 BUG: 1236933 Signed-off-by: Meghana <mmadhusu@redhat.com> Reviewed-on: http://review.gluster.org/11458 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'extras/ganesha')
-rwxr-xr-xextras/ganesha/scripts/dbus-send.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/ganesha/scripts/dbus-send.sh b/extras/ganesha/scripts/dbus-send.sh
index b96bba90e45..d838cabf7b2 100755
--- a/extras/ganesha/scripts/dbus-send.sh
+++ b/extras/ganesha/scripts/dbus-send.sh
@@ -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