fix HEREDOC_LOOP
This commit is contained in:
+1
-1
@@ -626,7 +626,7 @@ function version {
|
||||
function parse_options {
|
||||
HEREDOC=false
|
||||
if [[ $# == 0 ]]; then
|
||||
if [[ -t 0 ]]; then
|
||||
if [[ -t 0 || -v CHILD_PROCESS ]]; then
|
||||
>&2 echo 'ERROR: script expected!'
|
||||
builtin exit 2
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user