mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-26 21:49:48 +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();
|
|
}
|