Don't drop priveliges for OLED displays.

This commit is contained in:
Jonathan Naylor 2016-11-13 14:45:12 +00:00
parent fdb0da7329
commit bc5478974f

View file

@ -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");