use my_system instead of system

Origin commit data
------------------
Branch: ni/coolstream
Commit: bb2efeb45b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-02 (Tue, 02 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-10-02 12:42:31 +02:00
parent b7dbab80c0
commit 47adab931b
8 changed files with 80 additions and 60 deletions

View File

@@ -71,6 +71,7 @@
#include <gui/pictureviewer.h>
#include <gui/customcolor.h>
#include <driver/record.h>
#include <system/helpers.h>
extern CPictureViewer * g_PicViewer;
static CProgressBar *timescale;
@@ -3593,10 +3594,8 @@ int CDirMenu::exec(CMenuTarget* parent, const std::string & actionKey)
{
if(dirState[number] == DIR_STATE_SERVER_DOWN)
{
std::string command = "ether-wake ";
command += g_settings.network_nfs_mac[dirNfsMountNr[number]];
printf("try to start server: %s\n",command.c_str());
if(system(command.c_str()) != 0)
printf("try to start server: %s %s\n","ether-wake", g_settings.network_nfs_mac[dirNfsMountNr[number]]);
if(my_system("ether-wake", g_settings.network_nfs_mac[dirNfsMountNr[number]]) != 0)
perror("ether-wake failed");
dirOptionText[number]="STARTE SERVER";