From 034e4d24754682fff71fcfb6ac425b1b4e147532 Mon Sep 17 00:00:00 2001 From: Sebastian Moeller Date: Mon, 29 Jun 2015 10:04:52 +0200 Subject: [PATCH] [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 --- net/sqm-scripts/files/usr/lib/sqm/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sqm-scripts/files/usr/lib/sqm/functions.sh b/net/sqm-scripts/files/usr/lib/sqm/functions.sh index 4f3cc9df3..ec4583da0 100644 --- 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() {