hush: document a bug about aborting on sourced file error when non-interactive

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-03-24 05:38:51 +01:00
parent 3eab24e64a
commit c162bcdcd1
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
hush: syntax error: unterminated ${name}
line2
Ok1:0
hush: syntax error: unterminated '
Ok2:1

View File

@ -0,0 +1,10 @@
echo 'echo ${^}
echo line2' >sourced1
. ./sourced1
echo Ok1:$?
echo "echo '" >sourced1
. ./sourced1
echo Ok2:$?
rm sourced1