From 3081960bd0b23caef00550f5f2eb33ff07be3b16 Mon Sep 17 00:00:00 2001 From: Remzi Arpaci-Dusseau Date: Thu, 8 Feb 2018 09:35:43 -0600 Subject: [PATCH] Project clarifications: exit on error --- processes-shell/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/processes-shell/README.md b/processes-shell/README.md index f2b7c1f..eee6d06 100644 --- a/processes-shell/README.md +++ b/processes-shell/README.md @@ -200,6 +200,8 @@ message whenever you encounter an error of any type: The error message should be printed to stderr (standard error), as shown above. +After *any* error, your shell should immediately exit by calling `exit(1)`. + There is a difference between errors that your shell catches and those that the program catches. Your shell should catch all the syntax errors specified in this project page. If the syntax of the command looks perfect, you simply