diff options
author | Jason Reiss <jreiss@multitech.com> | 2019-11-01 08:58:33 -0500 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2019-11-01 08:58:33 -0500 |
commit | fb507bdaa76f0ca15fc22a876f2b2947d1359e2f (patch) | |
tree | 6e1e9c1221cded664955639a8668155f61c8ed8e | |
parent | 891853489f5e55c28f3fae401542fa1ab2a9dddc (diff) | |
download | lora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.tar.gz lora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.tar.bz2 lora-query-fb507bdaa76f0ca15fc22a876f2b2947d1359e2f.zip |
Redirect output to /dev/null1.0.6
-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; } |