From ecf9564c463e1887ef52905120bab7e0e1aaf70b Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Fri, 13 Mar 2015 16:29:53 +0800 Subject: [PATCH] Fix typo of previous commit for bug #4451. Fix bug#4601 --- xCAT-server/share/xcat/netboot/sles/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/sles/genimage b/xCAT-server/share/xcat/netboot/sles/genimage index 861a6f548..8625c7288 100755 --- a/xCAT-server/share/xcat/netboot/sles/genimage +++ b/xCAT-server/share/xcat/netboot/sles/genimage @@ -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"); }