Merge "bootctl: Fix the error checking for strtol result."