summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 756444f..9dd61f2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;
}