mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-13 23:00:22 +00:00
Fix typo of previous commit for bug #4451. Fix bug#4601
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user