diff options
author | Nathan Scott <nathans@redhat.com> | 2023-05-02 16:56:18 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-05-08 13:06:38 +1000 |
commit | 72235d8e098d9d79029dca65122605741e1aafad (patch) | |
tree | 96593b8bd9dc95dc5ab321bd363d36351cbd0a99 /CommandLine.c | |
parent | 0bdade1b6cb40c5bd374a93ac0489058a7421bb5 (diff) |
Adapt platform code for the new Machine base class
Move host-centric data to new derived <Platform>Machine classes,
separate from process-list-centric data.
Diffstat (limited to 'CommandLine.c')
-rw-r--r-- | CommandLine.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CommandLine.c b/CommandLine.c index 9e2018ef..8095fa8f 100644 --- a/CommandLine.c +++ b/CommandLine.c @@ -383,9 +383,11 @@ int CommandLine_run(int argc, char** argv) { ScreenManager* scr = ScreenManager_new(header, host, &state, true); ScreenManager_add(scr, (Panel*) panel, -1); - ProcessList_scan(pl, false); + Machine_scan(host); + ProcessList_scan(pl); CommandLine_delay(host, 75); - ProcessList_scan(pl, false); + Machine_scan(host); + ProcessList_scan(pl); if (settings->ss->allBranchesCollapsed) ProcessList_collapseAllBranches(pl); |