kopia lustrzana https://github.com/c9/core
fix serverlist
rodzic
2165f6e8d5
commit
a3d0286cb8
|
@ -237,7 +237,8 @@ define(function(require, exports, module) {
|
|||
function updateServerList() {
|
||||
setModel(null, model.columnsLsof);
|
||||
proc.execFile("bash", { args: ["-c",
|
||||
"sudo -n lsof -P -i -F pcnTtu || lsof -P -i -F pcnTtu"
|
||||
// try both with sudo and without, to get all servers
|
||||
"sudo -n lsof -P -i -F pcnTtu; lsof -P -i -F pcnTtu"
|
||||
]}, function(err, stdout, stderr) {
|
||||
if (err) return;
|
||||
var json = [];
|
||||
|
|
Ładowanie…
Reference in New Issue