summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-parser.c
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2013-10-07 13:08:49 +0530
committergluster-ant <bugzilla-bot@gluster.org>2013-10-07 13:08:49 +0530
commit0be3d66b99973177bacbb2559effeb8b9ffdb020 (patch)
tree4ebdbac13d3c8de3a4b02de9fb854b9b98141be7 /cli/src/cli-cmd-parser.c
parentac2d107df81b4f661af8ed1e72565e6a2d33d077 (diff)
extras/hookscripts: Fix the multiple entries in smb.conf problem.
Problem: 1. Force starts and user.smb sets were adding multiple entries to the smb.conf file for the same volume. Make a check for the entry and search with exact name. 2. Again, while deleting the share name from smb.conf search with exact name so that volumes with names which are substrings of ones to be deleted don't get deleted. 3. We don't need to use a tmp file while using sed -i, fixed that. Change-Id: Ie0f7c9d4790ef9a177a043378a761c9ffe1628e5 BUG: 994727 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/6043 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Lalatendu Mohanty <lmohanty@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
0 files changed, 0 insertions, 0 deletions