summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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: