local server exit return code edited