From f318da436ebe9756d2658ab474d5a094fe6539fe Mon Sep 17 00:00:00 2001 From: Moritz Reiter Date: Fri, 15 May 2020 10:39:44 +0200 Subject: [PATCH] Remove text duplicate in tutorial --- doc_src/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/tutorial.rst b/doc_src/tutorial.rst index dd71fbeec..12489c38f 100644 --- a/doc_src/tutorial.rst +++ b/doc_src/tutorial.rst @@ -397,7 +397,7 @@ To write them on the same line, use the semicolon (";"). That means the followin Exit Status ----------- -When a command exits, it returns a status code as a natural number. This indicates how the command fared - 0 usually means success, while the others signify kinds of failure. For instance fish's ``set --query`` returns the number of variables it queried that weren't set - ``set --query PATH`` usually returns 0, ``set --query arglbargl boogagoogoo`` usually returns 2. +When a command exits, it returns a status code as a natural number. Unlike other shells, ``fish`` stores the exit status of the last command in ``$status`` instead of ``$?``.