alas, root privs are required after all, for the GPIO stuff
This commit is contained in:
parent
e44619cea6
commit
44ee44b7fa
|
@ -208,13 +208,11 @@ HRESULT Config_setup(int argc, char *argv[])
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
GLOBAL_CONFIG from_commandline;
|
GLOBAL_CONFIG from_commandline;
|
||||||
|
|
||||||
/*
|
|
||||||
if (geteuid() != 0)
|
if (geteuid() != 0)
|
||||||
{
|
{
|
||||||
Log(LFATAL, "upiwin must be run with root privileges");
|
Log(LFATAL, "upiwin must be run with root privileges");
|
||||||
return E_ACCESSDENIED;
|
return E_ACCESSDENIED;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if (atexit(run_exit_funcs))
|
if (atexit(run_exit_funcs))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user