aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 58c6a8d..92b5f30 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1410,7 +1410,7 @@ int checkSimIsRunning(char *sim)
1410// I'd rather re-use the toysh command running stuff, since ps is a toy, but that's private. 1410// I'd rather re-use the toysh command running stuff, since ps is a toy, but that's private.
1411// TODO - switch to toybox ps and rm. 1411// TODO - switch to toybox ps and rm.
1412 free(path); 1412 free(path);
1413 path = xmprintf("ps -p %s --no-headers -o comm", pid); 1413 path = xmprintf("ps -p %s --no-headers -o comm >/dev/null", pid);
1414 i = system(path); 1414 i = system(path);
1415 if (WIFEXITED(i)) 1415 if (WIFEXITED(i))
1416 { 1416 {