diff options
author | louis <louis.braun@gmx.de> | 2015-07-07 17:58:10 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-07-07 17:58:10 +0200 |
commit | 5a6fb850b35bc63325cac482daaa70b00b0e8e8b (patch) | |
tree | c46bea143641a4a0f4461b971ae2cd03e10ac76b /views/viewhelpers.c | |
parent | 50fe393724a265341b1745dd401db9d93f46f354 (diff) | |
download | vdr-plugin-skindesigner-5a6fb850b35bc63325cac482daaa70b00b0e8e8b.tar.gz vdr-plugin-skindesigner-5a6fb850b35bc63325cac482daaa70b00b0e8e8b.tar.bz2 |
immplemented areacontainers to group areas
Diffstat (limited to 'views/viewhelpers.c')
-rw-r--r-- | views/viewhelpers.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/viewhelpers.c b/views/viewhelpers.c index 8643753..972c607 100644 --- a/views/viewhelpers.c +++ b/views/viewhelpers.c @@ -221,7 +221,8 @@ bool cViewHelpers::SetSystemMemory(bool forced, stringmap &stringTokens, intmap bool cViewHelpers::SetSystemTemperatures(bool forced, stringmap &stringTokens, intmap &intTokens) { cString execCommand = cString::sprintf("cd \"%s/\"; \"%s/temperatures\"", SCRIPTFOLDER, SCRIPTFOLDER); - system(*execCommand); + int ok = system(*execCommand); + if (ok) {} string tempCPU, tempGPU; int cpu, gpu; @@ -261,7 +262,8 @@ bool cViewHelpers::SetSystemTemperatures(bool forced, stringmap &stringTokens, i bool cViewHelpers::SetVDRStats(bool forced, stringmap &stringTokens, intmap &intTokens) { cString execCommand = cString::sprintf("cd \"%s/\"; \"%s/vdrstats\"", SCRIPTFOLDER, SCRIPTFOLDER); - system(*execCommand); + int ok = system(*execCommand); + if (ok) {} string vdrCPU = ""; string vdrMEM = ""; |