Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nslcd/netgroup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nslcd/netgroup.c b/nslcd/netgroup.c
index 3474bc8..f404bed 100644
--- a/nslcd/netgroup.c
+++ b/nslcd/netgroup.c
@@ -345,6 +345,8 @@ int nslcd_netgroup_byname(FILE *fp)
/* free data */
if (result.data!=NULL)
free(result.data);
+ /* write the final result code */
+ WRITE_INT32(fp,NSLCD_RESULT_NOTFOUND);
/* we're done */
_nss_ldap_enter();
_nss_ldap_ent_context_release(netgroup_context);