summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim <timothyasir@gluster.com>2011-08-11 14:45:32 +0530
committerTim <timothyasir@gluster.com>2011-08-11 14:45:32 +0530
commit918e3f8eb901f7a4d8ced92d5dc0e6a7cbf1aeb1 (patch)
tree09e8b3aed505298b3aab42446899b0a4cde3fc4d /src
parenta58049ad9568bcede5a65ab867b0c6af2cae265b (diff)
Enhanced add_user_cifs_all.py to write error message into stderr on getLastUid function failure.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py b/src/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py
index 29c182aa..bc4f9d7e 100755
--- a/src/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py
+++ b/src/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py
@@ -73,6 +73,7 @@ def main():
if not uid:
uid = getLastUid()
if not uid:
+ sys.stderr.write("Unable to read file %s\n" % Globals.CIFS_USER_FILE)
sys.exit(10)
uid += 1
else: