Hyprland/src/init/initHelpers.cpp

6 lines
100 B
C++
Raw Normal View History

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