From 890e58f5d4d3db9477e36cac3d16798ffe3b0480 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Wed, 1 Jul 2015 17:55:47 +0530 Subject: extra: "enable-shared-storage" key should create shared-storage Currently while creating shared storage it accept only "cluster.enable-shared-storage" key. It should also accept "enable-shared-storage" key. Change-Id: I4c68782f4b7927ec8cd725e411b0b9db17d9c48d BUG: 1238224 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/11491 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi Reviewed-by: Avra Sengupta --- extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/hook-scripts') diff --git a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh index 90802196b40..ad51babd5f7 100755 --- a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh +++ b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh @@ -2,7 +2,7 @@ key=`echo $3 | cut -d '=' -f 1` val=`echo $3 | cut -d '=' -f 2` -if [ "$key" != "cluster.enable-shared-storage" ]; then +if [ ! "$key" -eq "enable-shared-storage" -o "$key" -eq "cluster.enable-shared-storage" ]; then exit; fi if [ "$val" != 'enable' ]; then -- cgit