mirror of https://github.com/sheumann/hush.git
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:
parent
3eab24e64a
commit
c162bcdcd1
|
@ -0,0 +1,5 @@
|
|||
hush: syntax error: unterminated ${name}
|
||||
line2
|
||||
Ok1:0
|
||||
hush: syntax error: unterminated '
|
||||
Ok2:1
|
|
@ -0,0 +1,10 @@
|
|||
echo 'echo ${^}
|
||||
echo line2' >sourced1
|
||||
. ./sourced1
|
||||
echo Ok1:$?
|
||||
|
||||
echo "echo '" >sourced1
|
||||
. ./sourced1
|
||||
echo Ok2:$?
|
||||
|
||||
rm sourced1
|
Loading…
Reference in New Issue