From 64f36a04d07fc03aeda2ca7921f874ae0db19fa7 Mon Sep 17 00:00:00 2001 From: Meghana M Date: Mon, 29 Jun 2015 06:16:47 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11456 Reviewed-by: soumya k Reviewed-by: Kaleb KEITHLEY Reviewed-by: Niels de Vos Tested-by: Gluster Build System --- extras/hook-scripts/start/post/S31ganesha-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/hook-scripts') diff --git a/extras/hook-scripts/start/post/S31ganesha-start.sh b/extras/hook-scripts/start/post/S31ganesha-start.sh index dc3eaeaaa9f..f1ca72b38d2 100755 --- a/extras/hook-scripts/start/post/S31ganesha-start.sh +++ b/extras/hook-scripts/start/post/S31ganesha-start.sh @@ -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 -- cgit