summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py
diff options
context:
space:
mode:
authorTim <timothyasir@gluster.com>2011-08-09 20:12:35 +0530
committerTim <timothyasir@gluster.com>2011-08-09 20:12:35 +0530
commit7fa4207e81cc5020aca4a06a6bc68a85605742cc (patch)
tree08bf59246948892955092ede85aa867898edd947 /src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py
parent26c99b7829a648dc61f0eaf7e8550c8d957040cb (diff)
Bug 3370 - [CIFS] adding another user fails.
Diffstat (limited to 'src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py')
-rwxr-xr-xsrc/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py b/src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py
index 184e30b6..6a0be968 100755
--- a/src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py
+++ b/src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py
@@ -52,7 +52,7 @@ def main():
rv = Utils.runCommand(["grun.py", serverFile, "update_volume_cifs.py", volumeName] + userList)
if rv == 0:
if not updateVolumeCifsConf(volumeName, userList):
- sys.stderr.write("Failed to update volume and user-list in cifs volume configuration\n")
+ sys.stderr.write("Failed to update volume %s and user-list %s in cifs volume configuration\n" % (volumeName, userList))
sys.exit(11)
sys.exit(rv)