diff --git a/glances/outputs/static/js/services/plugins/glances_processlist.js b/glances/outputs/static/js/services/plugins/glances_processlist.js index 42198501..d6ef0d7f 100644 --- a/glances/outputs/static/js/services/plugins/glances_processlist.js +++ b/glances/outputs/static/js/services/plugins/glances_processlist.js @@ -36,7 +36,9 @@ glancesApp.service('GlancesPluginProcessList', function($filter, GlancesPlugin) process.isNice = process.nice !== undefined && ((data['system'].os_name === 'Windows' && process.nice != 32) || (data['system'].os_name !== 'Windows' && process.nice != 0)); - process.cmdline = process.cmdline.join(' '); + if (Array.isArray(process.cmdline)) { + process.cmdline = process.cmdline.join(' '); + } this.processes.push(process); }