env: style(9) fix, add a space
Reported by: pstef
Fixes: 55deb0a5f0
("service(8): use an environment more [...]")
This commit is contained in:
parent
55deb0a5f0
commit
0c1a5eaae8
2
usr.bin/env/env.c
vendored
2
usr.bin/env/env.c
vendored
@ -144,7 +144,7 @@ main(int argc, char **argv)
|
||||
login_class = strchr(login_name, '/');
|
||||
if (login_class)
|
||||
*login_class++ = '\0';
|
||||
if (*login_name != '\0' && strcmp(login_name,"-") != 0) {
|
||||
if (*login_name != '\0' && strcmp(login_name, "-") != 0) {
|
||||
pw = getpwnam(login_name);
|
||||
if (pw == NULL) {
|
||||
char *endp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user