diff options
| author | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-08-11 02:27:57 -0700 |
|---|---|---|
| committer | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-08-11 02:27:57 -0700 |
| commit | ebe3bb6c36a6b4840af84082ce4f61f5bb2f15ac (patch) | |
| tree | 9fc7b66c8be515f5e1d0542ff432dcf1a65c904c /src/com.gluster.storage.management.gateway.scripts | |
| parent | 5c74d77f0692057dad34bc9546ee50a89715b04d (diff) | |
| parent | 918e3f8eb901f7a4d8ced92d5dc0e6a7cbf1aeb1 (diff) | |
Merge pull request #226 from TimothyAsir/master
Added error message on getLastUid function failure
Diffstat (limited to 'src/com.gluster.storage.management.gateway.scripts')
| -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 a54685fa..33adea0b 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: |
