sched: check negative err value to safe one level of indent