This commit is contained in:
2026-04-13 19:08:35 +08:00
parent 775a2f435d
commit 4beaed4ba3
15 changed files with 718 additions and 35 deletions

View File

@@ -14,5 +14,9 @@ int cleonos_app_main(void) {
for (;;) {
ush_read_line(&sh, line, (u64)sizeof(line));
ush_execute_line(&sh, line);
if (sh.exit_requested != 0) {
return (int)(sh.exit_code & 0x7FFFFFFFULL);
}
}
}
}