fd.o bug #12429 Reverse check to setpcap and only init audit if we were root
* patch by Dan Walsh <email@example.com> * https://bugs.freedesktop.org/show_bug.cgi?id=12429 * Reverse we_were_root check to setpcap if we were root. Also only init audit if we were root. So error dbus message will not show up when policy reload happens. dbus -session will no longer try to send audit message, only system will.
Showing with 5 additions and 8 deletions