diff options
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/lslogins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index a9655e22f..d77f74dff 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -601,7 +601,7 @@ static const char *get_pwd_method(const char *str, const char **next, unsigned i } p++; - if (!*p || *p != '$') + if (*p != '$') return NULL; if (next) *next = ++p; |