1 2 3 4 5
#include "initHelpers.hpp" bool Init::isSudo() { return getuid() != geteuid() || !geteuid(); }