shconf: stops at EOF or the first error