mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-14 20:25:58 +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();
|
|
}
|