disallow running with sudo

unless you use the --i-am-really-stupid flag
This commit is contained in:
vaxerski 2022-05-19 19:28:15 +02:00
parent 36be9c4a11
commit 146b189d54
3 changed files with 33 additions and 0 deletions

7
src/init/initHelpers.hpp Normal file
View file

@ -0,0 +1,7 @@
#pragma once
#include "../defines.hpp"
namespace Init {
bool isSudo();
};