summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2019-11-01 08:58:33 -0500
committerJason Reiss <jreiss@multitech.com>2019-11-01 08:58:33 -0500
commitfb507bdaa76f0ca15fc22a876f2b2947d1359e2f (patch)
tree6e1e9c1221cded664955639a8668155f61c8ed8e
parent891853489f5e55c28f3fae401542fa1ab2a9dddc (diff)
downloadlora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.tar.gz
lora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.tar.bz2
lora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.zip
Redirect output to /dev/null1.0.6
-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;
}