diff --git a/sh/sh.c b/sh/sh.c index c257445f..203b06c7 100644 --- a/sh/sh.c +++ b/sh/sh.c @@ -2042,7 +2042,7 @@ static int run(FILE* fp, read_command_non_interactive(&sh_read_command, fp); if ( sh_read_command.abort_condition ) - continue; + break; if ( sh_read_command.eof_condition ) {