Don't drop priveliges for OLED displays.
This commit is contained in:
parent
fdb0da7329
commit
bc5478974f
|
@ -191,7 +191,7 @@ int CMMDVMHost::run()
|
|||
::close(STDIN_FILENO);
|
||||
::close(STDOUT_FILENO);
|
||||
::close(STDERR_FILENO);
|
||||
#if !defined(HD44780)
|
||||
#if !defined(HD44780) && !defined(OLED)
|
||||
//If we are currently root...
|
||||
if (getuid() == 0) {
|
||||
struct passwd* user = ::getpwnam("mmdvm");
|
||||
|
|
Loading…
Reference in a new issue