hush: fix set -n to act immediately, not just after run_list()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
2
shell/hush_test/hush-misc/set-n1.tests
Executable file
2
shell/hush_test/hush-misc/set-n1.tests
Executable file
@@ -0,0 +1,2 @@
|
||||
$THIS_SH -c "echo 'set -n stops in -c?'; set -n; echo NO" && echo YES
|
||||
echo Ok:$?
|
Reference in New Issue
Block a user