summaryrefslogtreecommitdiffstats
path: root/contrib/amd
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/amd')
-rw-r--r--contrib/amd/hlfsd/homedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/amd/hlfsd/homedir.c b/contrib/amd/hlfsd/homedir.c
index 2ade32f..fb4720c 100644
--- a/contrib/amd/hlfsd/homedir.c
+++ b/contrib/amd/hlfsd/homedir.c
@@ -494,7 +494,7 @@ readent:
buf[0] = '\0';
fgets(buf, 256, passwd_fp);
passwd_line++;
- if (!buf || buf[0] == '\0')
+ if (buf[0] == '\0')
goto readent;
/* read user name */
OpenPOWER on IntegriCloud