From e5f3b836032a5330356180c0f50ff1b64ec77eb4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 13 Nov 2015 12:58:01 +0000 Subject: allow user: syntax for s6-envuidgid -B --- src/daemontools-extras/s6-envuidgid.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/daemontools-extras/s6-envuidgid.c b/src/daemontools-extras/s6-envuidgid.c index 997b7b6..2971e6a 100644 --- a/src/daemontools-extras/s6-envuidgid.c +++ b/src/daemontools-extras/s6-envuidgid.c @@ -84,6 +84,7 @@ int main (int argc, char *const *argv, char const *const *envp) argv[0][pos] = 0 ; group = argv[0] + pos + 1 ; if (!pos) user = 0 ; + if (!group[0]) group = 0 ; } break ; default : strerr_dief1x(101, "inconsistent option management - please submit a bug-report") ; -- cgit v1.2.3