mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
[SQM] Fix sqm_logger to accept empty strings as input
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 <moeller0@gmx.de>
This commit is contained in:
committed by
Toke Høiland-Jørgensen
parent
a754eb7a74
commit
034e4d2475
@@ -6,7 +6,7 @@
|
||||
|
||||
#improve the logread output
|
||||
sqm_logger() {
|
||||
logger -t SQM -s ${1}
|
||||
logger -t SQM -s "${1}"
|
||||
}
|
||||
|
||||
insmod() {
|
||||
|
||||
Reference in New Issue
Block a user