aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2021-08-04 15:05:34 +1000
committeronefang2021-08-04 15:05:34 +1000
commitcfab32367c733a4a61f3f801c521ac7b4b794e58 (patch)
tree1896718000c7139d22c04df13c3ad27a7867f00f /src
parentStop wrapped text from screwing with tmux captures. (diff)
downloadopensim-SC-cfab32367c733a4a61f3f801c521ac7b4b794e58.zip
opensim-SC-cfab32367c733a4a61f3f801c521ac7b4b794e58.tar.gz
opensim-SC-cfab32367c733a4a61f3f801c521ac7b4b794e58.tar.bz2
opensim-SC-cfab32367c733a4a61f3f801c521ac7b4b794e58.tar.xz
Stop printing "mono" when we check if a sim is running.
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 {