summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js b/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js
index 0eb7b4f7ca..aeecd54fcf 100644
--- a/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js
+++ b/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js
@@ -104,7 +104,7 @@ return L.view.extend({
return fs.exec(bin, args).then(function(res) {
ui.showModal(_('Waking host'), [
- E('p', [ res.stdout ]),
+ res.stderr ? E('p', [ res.stdout ]) : '',
res.stderr ? E('pre', [ res.stderr ]) : '',
E('div', { 'class': 'right' }, [
E('button', {