The branch main has been updated by kevans:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0c1a5eaae83267365330437adb60f44e1a622a2b

commit 0c1a5eaae83267365330437adb60f44e1a622a2b
Author:     Kyle Evans <kev...@freebsd.org>
AuthorDate: 2021-03-03 20:20:17 +0000
Commit:     Kyle Evans <kev...@freebsd.org>
CommitDate: 2021-03-03 20:21:56 +0000

    env: style(9) fix, add a space
    
    Reported by:    pstef
    Fixes:  55deb0a5f089 ("service(8): use an environment more [...]")
---
 usr.bin/env/env.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/env/env.c b/usr.bin/env/env.c
index 0aa42a4663dd..a0f55d665a9a 100644
--- a/usr.bin/env/env.c
+++ b/usr.bin/env/env.c
@@ -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;
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to