error with non-interactive shells