git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a754eb7
)
[SQM] Fix sqm_logger to accept empty strings as input
author
Sebastian Moeller
<redacted>
Mon, 29 Jun 2015 08:04:52 +0000
(10:04 +0200)
committer
Toke Høiland-Jørgensen
<redacted>
Sun, 12 Jul 2015 20:24:21 +0000
(22:24 +0200)
sqm_logger tried tro wait indefinitely if passed an empty string.
This in turn makes sqm-scripts hang. Quoting the input argument in sqm_logger
seems to fix the problem.
Signed-off-by: Sebastian Moeller <redacted>
net/sqm-scripts/files/usr/lib/sqm/functions.sh
patch
|
blob
|
history
diff --git
a/net/sqm-scripts/files/usr/lib/sqm/functions.sh
b/net/sqm-scripts/files/usr/lib/sqm/functions.sh
index 4f3cc9df3a4eca1306ceb798735704e07e4330aa..ec4583da0da1beada3378794f1f8bf992da4d7ab 100644
(file)
--- a/
net/sqm-scripts/files/usr/lib/sqm/functions.sh
+++ b/
net/sqm-scripts/files/usr/lib/sqm/functions.sh
@@
-6,7
+6,7
@@
#improve the logread output
sqm_logger() {
- logger -t SQM -s
${1}
+ logger -t SQM -s
"${1}"
}
insmod() {
git clone https://git.99rst.org/PROJECT