summaryrefslogtreecommitdiffstats
path: root/CommandLine.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-05-02 16:56:18 +1000
committerNathan Scott <nathans@redhat.com>2023-05-08 13:06:38 +1000
commit72235d8e098d9d79029dca65122605741e1aafad (patch)
tree96593b8bd9dc95dc5ab321bd363d36351cbd0a99 /CommandLine.c
parent0bdade1b6cb40c5bd374a93ac0489058a7421bb5 (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.c6
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy