mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 17:45:59 +01:00
146b189d54
unless you use the --i-am-really-stupid flag
5 lines
100 B
C++
5 lines
100 B
C++
#include "initHelpers.hpp"
|
|
|
|
bool Init::isSudo() {
|
|
return getuid() != geteuid() || !geteuid();
|
|
}
|