From 1a2fd8fa98e300ec6c95febaf537b88ce32babd1 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 9 Aug 2011 19:03:53 +0530 Subject: Enhanced cifs functions to write errors into stderr. --- .../WebContent/scripts/update_volume_cifs_all.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com.gluster.storage.management.gateway/WebContent/scripts/update_volume_cifs_all.py') 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) -- cgit