diff options
| author | Tim <timothyasir@gluster.com> | 2011-08-09 19:03:53 +0530 |
|---|---|---|
| committer | Tim <timothyasir@gluster.com> | 2011-08-09 19:03:53 +0530 |
| commit | 1a2fd8fa98e300ec6c95febaf537b88ce32babd1 (patch) | |
| tree | e102f05b8801146cbd0b44924de26afad02608b2 /src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py | |
| parent | 99453fd4bd9975eeaa7616cbe2d4d47e01da3dde (diff) | |
Enhanced cifs functions to write errors into stderr.
Diffstat (limited to 'src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py')
| -rwxr-xr-x | src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py | 1 |
1 files changed, 1 insertions, 0 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 a4d424b3..184e30b6 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,6 +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.exit(11) sys.exit(rv) |
