commit e5f3b836032a5330356180c0f50ff1b64ec77eb4
parent ca17f290091c402164b808c3a6eff13211fc43ad
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Fri, 13 Nov 2015 12:58:01 +0000
allow user: syntax for s6-envuidgid -B
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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") ;