Fix typo of previous commit for bug #4451. Fix bug#4601

This commit is contained in:
GONG Jie 2015-03-13 16:29:53 +08:00
parent 85f758bd0d
commit ecf9564c46

View File

@ -1073,7 +1073,7 @@ sub mkinitrd_dracut {
}
!system("chroot $rootimg_dir dracut $additional_options -f /tmp/initrd.$$.gz $kernelver")
and die("Error: failed to generate the initial ramdisk for $mode.\n");
or die("Error: failed to generate the initial ramdisk for $mode.\n");
print "the initial ramdisk for $mode is generated successfully.\n";
move("$rootimg_dir/tmp/initrd.$$.gz", "$destdir/initrd-$mode.gz");
}