mirror of
https://github.com/Telecominfraproject/wlan-ucentral-schema.git
synced 2026-01-27 02:23:33 +00:00
cmd_script: custom scripts with no uri failed to send the stdout to the server
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -82,7 +82,7 @@ if (abort)
|
||||
"result": "timed out"
|
||||
};
|
||||
|
||||
if (!fs.stat(out)) {
|
||||
if (args.uri && !fs.stat(out)) {
|
||||
result_json({ error: 1,
|
||||
result: 'script did not generate any output'});
|
||||
} else if (args.uri) {
|
||||
|
||||
Reference in New Issue
Block a user