diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2021-03-16 08:46:54 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-16 09:41:37 +0100 |
commit | ef3679f9c391b088598279fd0c77e1abcddfc15f (patch) | |
tree | 82035c54d6f46d7baed98f6f9f3eec955b1f34e8 /Userland/Shell/Shell.cpp | |
parent | 18a5ddfaddf5669334673fb159d7d6308876d618 (diff) | |
download | serenity-ef3679f9c391b088598279fd0c77e1abcddfc15f.zip |
Shell: Avoid unnecessarily taking control of the standard streams
As of a0506cb39e9b1cf67c454a2ccc9473b8cbcd5cd0, this is no longer
needed to write to stdout.
Fixes #5776.
Diffstat (limited to 'Userland/Shell/Shell.cpp')
-rw-r--r-- | Userland/Shell/Shell.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp index 8459593fa8..bd78a9d411 100644 --- a/Userland/Shell/Shell.cpp +++ b/Userland/Shell/Shell.cpp @@ -862,7 +862,6 @@ RefPtr<Job> Shell::run_command(const AST::Command& command) if (!job->exited()) return; - restore_ios(); if (job->is_running_in_background() && job->should_announce_exit()) warnln("Shell: Job {} ({}) exited\n", job->job_id(), job->cmd().characters()); else if (job->signaled() && job->should_announce_signal()) |