aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/exit.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-13 02:51:37 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-13 02:51:37 +1000
commit2e5821c17df189a8885b4a3bfb81e7192ee9d1a3 (patch)
treefa6e35510fa7778431fdd7497942396f5bd6e1d5 /doc_src/exit.txt
parentf46145a6b3f3bbab9328280cb1a6310d85f866c4 (diff)
Do not change status when the 'exit' builtin is called with no argument
darcs-hash:20060612165137-ac50b-0281941e35c5f8b619460f67d24a89caec475815.gz
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,