diff options
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ void runCmd(const char *command) { receiveStream.str(""); receiveStream.clear(); - if (system("netstat -lanu | grep \":6677 \"")) { + if (system("netstat -lanu | grep 6677 &> /dev/null")) { return; } |