diff options
| author | Tim <timothyasir@gluster.com> | 2011-08-11 14:45:32 +0530 |
|---|---|---|
| committer | Tim <timothyasir@gluster.com> | 2011-08-11 14:45:32 +0530 |
| commit | 918e3f8eb901f7a4d8ced92d5dc0e6a7cbf1aeb1 (patch) | |
| tree | 09e8b3aed505298b3aab42446899b0a4cde3fc4d /src | |
| parent | a58049ad9568bcede5a65ab867b0c6af2cae265b (diff) | |
Enhanced add_user_cifs_all.py to write error message into stderr on getLastUid function failure.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/com.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py | 1 |
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: |
