Don't rely on legacy feature of interpreting non-executable files as scripts there. (cherry picked from commit ce63d31a2e)
ce63d31a2e
Additional running shell could prevent EOF from being detected.