From ef3679f9c391b088598279fd0c77e1abcddfc15f Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Tue, 16 Mar 2021 08:46:54 +0330 Subject: [PATCH] Shell: Avoid unnecessarily taking control of the standard streams As of a0506cb39e9b1cf67c454a2ccc9473b8cbcd5cd0, this is no longer needed to write to stdout. Fixes #5776. --- Userland/Shell/Shell.cpp | 1 - 1 file changed, 1 deletion(-) 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 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())