luci2: rename switch acl group to network as it is going to be shared with other...
[project/luci2/ui.git] / luci2 / htdocs / luci2 / view / status.dmesg.js
index 6d89d3e..bcb35d0 100644 (file)
@@ -2,12 +2,12 @@ L.ui.view.extend({
     title: L.tr('Kernel Log'),
     refresh: 5000,
     execute: function() {
-        return L.system.getKernelLog(function(log) {
+        return L.system.getKernelLog().then(function(log) {
             var ta = document.getElementById('syslog');
             var lines = log.replace(/\n+$/, '').split(/\n/);
 
             ta.rows = lines.length;
             ta.value = lines.reverse().join("\n");
-        })
+        });
     }
 });