IPC and log changes, introduce signature
This commit is contained in:
parent
19b17b590c
commit
6f3b004199
8 changed files with 46 additions and 16 deletions
|
|
@ -19,6 +19,10 @@ int main(int argc, char** argv) {
|
|||
ignoreSudo = true;
|
||||
}
|
||||
|
||||
system("mkdir -p /tmp/hypr");
|
||||
|
||||
Debug::init();
|
||||
|
||||
if (!ignoreSudo) {
|
||||
if (Init::isSudo()) {
|
||||
Debug::log(CRIT, "Hyprland shall not be run as the root user. If you really want to, use the --i-am-really-stupid flag.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue