core: initialize groups list before checking SupplementaryGroups= of a unit (#4533)
authorDjalal Harouni <tixxdz@opendz.org>
Wed, 2 Nov 2016 16:51:35 +0000 (17:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 16:51:35 +0000 (10:51 -0600)
commitbbeea271172a4664ce9a4a41a7fa3b1ca18dbedd
treee2200a8204af5e562000072e4351b32e674eeb97
parent4887b656c22af059d4e833de7b56544f24951184
core: initialize groups list before checking SupplementaryGroups= of a unit (#4533)

Always initialize the supplementary groups of caller before checking the
unit SupplementaryGroups= option.

Fixes https://github.com/systemd/systemd/issues/4531
src/core/execute.c