mirror of
https://github.com/clearlinux/python-swupd.git
synced 2026-06-16 02:35:49 +00:00
62da42dac6
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>