diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-06-17 14:32:05 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-06-17 14:32:05 +0300 |
commit | 39cf80338c550a66079c48b4133b7dcbd34458ec (patch) | |
tree | e9e22373429769d5eb0b1bc4aea364f080797546 /contrib | |
parent | df246405de7a4cf96c53b39e7af36ebe6e146559 (diff) |
use nc -l -p PORT for compatibility
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/nc-backend.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/nc-backend.sh b/contrib/nc-backend.sh index b5a89840e0..aac5c20bba 100755 --- a/contrib/nc-backend.sh +++ b/contrib/nc-backend.sh @@ -30,7 +30,7 @@ listen_save_replay_forever() { log "Starting nc to listen on port ${port} and save metrics to ${file}" started=$(date +%s) - mync -l "${port}" | tee -a -p --output-error=exit "${file}" + mync -l -p "${port}" | tee -a -p --output-error=exit "${file}" ended=$(date +%s) if [ -s "${file}" ] |