mirror of
https://github.com/clearlinux/python-swupd.git
synced 2026-04-28 10:53:36 +00:00
It may happen that python-swupd is used in an EUID 0 root process, as such running sudo is not appropriate. With this change, we introduce a command builder that will insert sudo as appropriate, depending on the current EUID. Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>