mirror of
https://github.com/openwrt/luci.git
synced 2026-06-17 17:03:20 +04:00
luci-app-wol: cope with empty stdout
Fix a cosmetic issue when etherwake is sending to an invalid interface. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user