diff --git a/Userland/Shell/AST.cpp b/Userland/Shell/AST.cpp index c6c8b982a0..d4ff8ecd9f 100644 --- a/Userland/Shell/AST.cpp +++ b/Userland/Shell/AST.cpp @@ -1619,9 +1619,6 @@ RefPtr IfCond::run(RefPtr shell) auto cond_job = cond_job_value->job(); shell->block_on_job(cond_job); - - if (cond_job->signaled()) - return create({}); // Exit early. } if (shell->last_return_code == 0) { if (m_true_branch)