hush: fix "true | func_with_return" not allowing return.
function old new delta pseudo_exec_argv 305 312 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Two:2
|
||||
Two:2
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
f1() { return 2; }
|
||||
f1
|
||||
echo Two:$?
|
||||
false
|
||||
true | f1
|
||||
echo Two:$?
|
||||
Reference in New Issue
Block a user