[SQM] Fix sqm_logger to accept empty strings as input
authorSebastian Moeller <moeller0@gmx.de>
Mon, 29 Jun 2015 08:04:52 +0000 (10:04 +0200)
committerToke Høiland-Jørgensen <toke@toke.dk>
Sun, 12 Jul 2015 20:25:12 +0000 (22:25 +0200)
commit478903aea1672156f89d1c29ed5be4371bc34a39
tree8f62cf1d3a4e17b10fec0d2fb5e12074f73836ff
parent30e02086c5bdfb427f8cd07becc87864e36142e5
[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>
net/sqm-scripts/files/usr/lib/sqm/functions.sh