diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-13 12:58:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-13 12:58:01 +0000 |
commit | e5f3b836032a5330356180c0f50ff1b64ec77eb4 (patch) | |
tree | 71708ef29967be3fd1975288de18a14406d2bc17 | |
parent | ca17f290091c402164b808c3a6eff13211fc43ad (diff) | |
download | s6-e5f3b836032a5330356180c0f50ff1b64ec77eb4.tar.gz s6-e5f3b836032a5330356180c0f50ff1b64ec77eb4.tar.xz s6-e5f3b836032a5330356180c0f50ff1b64ec77eb4.zip |
allow user: syntax for s6-envuidgid -B
-rw-r--r-- | src/daemontools-extras/s6-envuidgid.c | 1 |
1 files changed, 1 insertions, 0 deletions
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") ; |