summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wol/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-wol/htdocs/luci-static/resources')
-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 0eb7b4f7c..aeecd54fc 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', {