aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/source.txt
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 00:58:08 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-10-06 00:58:08 +1000
commit713c84d8213b8d9e903f3e59c084385813cccc30 (patch)
treec32d4e3dc0ea08c0a46f5a4b363de2f59b2847e5 /doc_src/source.txt
parentd34d05ca8b2b5c40dbc5f26f585d73069bd52c1f (diff)
Make the . builtin have a more useful (and posix-compatible) exit status
darcs-hash:20071005145808-75c98-17100c1e321b8bca06f75e900db1386451232f98.gz
Diffstat (limited to 'doc_src/source.txt')
-rw-r--r--doc_src/source.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc_src/source.txt b/doc_src/source.txt
index 54d1e342..05abc4fc 100644
--- a/doc_src/source.txt
+++ b/doc_src/source.txt
@@ -16,6 +16,10 @@ variable.
If no file is specified, or if the file name '-' is used, stdin will
be read.
+The return status of . is the return status of the last job to
+execute. If something goes wrong while opening or reading the file,
+. exits with a non-zero status.
+
\subsection source-example Example
<tt>. ~/.fish</tt>