mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Don't drop priveliges for OLED displays.
This commit is contained in:
parent
fdb0da7329
commit
bc5478974f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue