mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00
parent
70eb7aa627
commit
7b15c85ff5
3 changed files with 15 additions and 5 deletions
|
@ -267,7 +267,8 @@ int Shell::builtin_exit(int argc, const char** argv)
|
|||
}
|
||||
stop_all_jobs();
|
||||
save_history();
|
||||
printf("Good-bye!\n");
|
||||
if (m_is_interactive)
|
||||
printf("Good-bye!\n");
|
||||
exit(exit_code);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue