diff --git a/scripts/api.js b/scripts/api.js index 3d8bf559b2..5bcae78a77 100644 --- a/scripts/api.js +++ b/scripts/api.js @@ -53,10 +53,12 @@ request.write(""); request.write("
" + reply + "\n"); + if ((reply = apiExecute(cmd, args))) { + request.write("
" + reply + "\n"); } }