summaryrefslogtreecommitdiff
path: root/Shell/Shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Shell/Shell.cpp')
-rw-r--r--Shell/Shell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp
index 354943ddde..605b27bcf3 100644
--- a/Shell/Shell.cpp
+++ b/Shell/Shell.cpp
@@ -606,7 +606,7 @@ RefPtr<Job> Shell::run_command(const AST::Command& command)
if (rewiring_result.is_error()) {
if (!rewiring_result.error().is_empty())
fprintf(stderr, "error: %s\n", rewiring_result.error().characters());
- return IterationDecision::Continue;
+ return IterationDecision::Break;
}
auto& rewiring = rewiring_result.value();