From 478903aea1672156f89d1c29ed5be4371bc34a39 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 4f3cc9df3a..ec4583da0d 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() { -- 2.30.2