neutrino: fix service restart item in usermenu

Origin commit data
------------------
Commit: 1f1b85a8b8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-06 (Wed, 06 Dec 2017)

Origin message was:
------------------
- neutrino: fix service restart item in usermenu
This commit is contained in:
vanhofen
2017-12-06 22:03:58 +01:00
parent 3dd71853e5
commit e233cf9566

View File

@@ -4693,8 +4693,8 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
CHintBox hintbox(LOCALE_CAMD_CONTROL, LOCALE_CAMD_MSG_RESET);
hintbox.paint();
printf("[neutrino.cpp] executing \"service emu restart\"\n");
if (my_system(3, "service", "emu", "restart") != 0)
printf("[neutrino.cpp] executing \"service camd restart\"\n");
if (my_system(3, "service", "camd", "restart") != 0)
printf("[neutrino.cpp] executing failed\n");
sleep(1);