Option --lastrun ignores exitcode