]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: use strv_isempty to check if supplementary_groups is empty 6985/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Oct 2017 09:33:30 +0000 (11:33 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 4 Oct 2017 09:33:30 +0000 (11:33 +0200)
commitac6e8be66ecf57d401fd60c927cf81d522c7a8b9
tree38a432e0296cdec5f5572fdb46c713d2e31bf4ef
parent9f2d41a65fb8671c5746a952c1917da8f2774bc8
core: use strv_isempty to check if supplementary_groups is empty

With the previous commit, we know that it will be NULL if empty, but
it's safe to always use strv_isempty() in case the code changes
in the future.
src/core/execute.c