Fix typo of previous commit for bug #4451. Fix bug#4601
This commit is contained in:
parent
85f758bd0d
commit
ecf9564c46
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user