release: 1.2.22 - section rules modal UI, fix telegram worker command_output_from_args, fix watchdog ubus listener

This commit is contained in:
Dushnilin
2026-07-24 20:18:51 +03:00
parent c431c2739c
commit cdf24c4632
5 changed files with 100 additions and 103 deletions
+6 -1
View File
@@ -172,6 +172,10 @@ function command_output(command) {
return res ? res.output : "";
}
function command_output_from_args(args) {
return command_output(command_from_args(args) + " 2>/dev/null");
}
return {
as_string,
read_json_file,
@@ -195,5 +199,6 @@ return {
command_success,
command_success_from_args,
command_capture,
command_output
command_output,
command_output_from_args
};