disallow running with sudo
unless you use the --i-am-really-stupid flag
This commit is contained in:
parent
36be9c4a11
commit
146b189d54
3 changed files with 33 additions and 0 deletions
7
src/init/initHelpers.hpp
Normal file
7
src/init/initHelpers.hpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "../defines.hpp"
|
||||
|
||||
namespace Init {
|
||||
bool isSudo();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue