mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
uspot: accounting: quote syslog() logger argument
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This commit is contained in:
committed by
John Crispin
parent
1252ca6778
commit
97f641a16b
@@ -39,7 +39,7 @@ if (!uciload) {
|
||||
function syslog(interface, mac, msg) {
|
||||
let log = sprintf('uspot: %s %s %s', interface, mac, msg);
|
||||
|
||||
system('logger ' + log);
|
||||
system('logger \'' + log + '\'');
|
||||
warn(log + '\n');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user