[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:24:21 +0000 (22:24 +0200)
commit034e4d24754682fff71fcfb6ac425b1b4e147532
treee6f388fca7404532a95fa0eb6cc49a5b377aceb1
parenta754eb7a741b870bd5442297bd570d1ab3ecbd0e
[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