aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/exit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/exit.txt')
-rw-r--r--doc_src/exit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/exit.txt b/doc_src/exit.txt
index b71f7b0d..aa96fe95 100644
--- a/doc_src/exit.txt
+++ b/doc_src/exit.txt
@@ -7,7 +7,7 @@
The <tt>exit</tt> builtin causes fish to exit. If <tt>STATUS</tt> is
supplied, it will be converted to an integer and used as the exit
-code. Otherwise the exit code will be 0.
+code. Otherwise the exit code will be that of the last command executed.
If exit is called while sourcing a file (using the <a
href="#source">.</a> builtin) the rest of the file will be skipped,