git.samba.org
/
uid_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a43ef7
)
uwrap: Add log message before exit
author
Andreas Schneider
<asn@samba.org>
Fri, 14 Jul 2017 08:31:05 +0000
(10:31 +0200)
committer
Andreas Schneider
<asn@samba.org>
Fri, 14 Jul 2017 13:20:04 +0000
(15:20 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
src/uid_wrapper.c
patch
|
blob
|
history
diff --git
a/src/uid_wrapper.c
b/src/uid_wrapper.c
index 945c9347044499650458204b73619f020283f187..f9350f14e87047335a2a3670194192861c349f1e 100644
(file)
--- a/
src/uid_wrapper.c
+++ b/
src/uid_wrapper.c
@@
-1048,6
+1048,12
@@
static void uwrap_init_env(struct uwrap_thread *id)
}
if (i != ngroups) {
+ UWRAP_LOG(UWRAP_LOG_ERROR,
+ "ERROR: The number of groups (%u) passed, "
+ "does not the number of groups (%u) we "
+ "parsed",
+ ngroups,
+ i);
exit(-1);
}