Fixed the exit status check in initrd rebuild.