logd: fix privilege dropping order
authorGiovanni Giacobbi <giovanni@giacobbi.net>
Tue, 27 Jul 2021 12:39:28 +0000 (14:39 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 3 Aug 2021 20:45:30 +0000 (21:45 +0100)
commit1f4f72bde55e8c5810db4ead4170352febd2dbfb
tree95643fa99dbc43f3c27f849f1a1b98390c344ab4
parent41664054b8b1bc19d842421c49d1b4d612ff8297
logd: fix privilege dropping order

Fixes: 41664054b8b1 ("logd: fix ignored return values in set{gid,uid}")
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
log/logd.c