summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-03 17:14:03 +0000
committerMatt Wilson <msw@redhat.com>2000-07-03 17:14:03 +0000
commite20549826fcc02ab7fe945ba8d8e5b5bf04a75df (patch)
treef74a2ae9cba040a6f1ba07d7936119ee14d87406 /scripts
parent8c1a074bc0ab1bbeccb4df52ca47dfa9b6293bf4 (diff)
downloadanaconda-e20549826fcc02ab7fe945ba8d8e5b5bf04a75df.tar.gz
anaconda-e20549826fcc02ab7fe945ba8d8e5b5bf04a75df.tar.xz
anaconda-e20549826fcc02ab7fe945ba8d8e5b5bf04a75df.zip
patch from hj
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mk-images.i3868
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/mk-images.i386 b/scripts/mk-images.i386
index dafcf6e96..cee14042f 100644
--- a/scripts/mk-images.i386
+++ b/scripts/mk-images.i386
@@ -20,8 +20,16 @@ prepareBootImage() {
cp $KERNELROOT/boot/vmlinuz-* $MBD_BOOTTREE/vmlinuz
if [ -d $BOOTDISKDIR/$BOOTLANG ]; then
cp $BOOTDISKDIR/$BOOTLANG/*.msg $MBD_BOOTTREE
+ if [ $? != 0 ]; then
+ echo $0: Failed to copy messages from $BOOTDISKDIR/$BOOTLANG to $MBD_BOOTTREE.
+ exit 1
+ fi
else
cp $BOOTDISKDIR/*.msg $MBD_BOOTTREE
+ if [ $? != 0 ]; then
+ echo $0: Failed to copy messages from $BOOTDISKDIR to $MBD_BOOTTREE.
+ exit 1
+ fi
fi
}