From: Johannes Truschnigg Date: Sun, 20 Mar 2022 10:33:04 +0000 (+0100) Subject: More consistent output for set_bw()'s system() X-Git-Url: https://johannes.truschnigg.info/gitweb/?a=commitdiff_plain;h=4ccca98750de6324b2cb9e5093cf51559d4a435d;p=sqm_lagthrottle More consistent output for set_bw()'s system() --- diff --git a/__sqm_lagthrottle.awk b/__sqm_lagthrottle.awk index 363f9b0..5cecc0a 100644 --- a/__sqm_lagthrottle.awk +++ b/__sqm_lagthrottle.awk @@ -346,7 +346,7 @@ function update_ping_avgs(peername) { # Shell out to `tc` to update cake bandwidth settings function set_bw(dev, kbit) { adjust_old = ts - system("set -x; tc qdisc change root dev " dev " cake bandwidth " kbit "Kbit") + system("PS4='# SHELL: '; set -x; tc qdisc change root dev " dev " cake bandwidth " kbit "Kbit") }