ctdb: Report errors from getline()