summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/make_mdkinst_stage22
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2
index af30ef995..abcd65624 100755
--- a/tools/make_mdkinst_stage2
+++ b/tools/make_mdkinst_stage2
@@ -72,7 +72,7 @@ $MKE2FS -N $[$inodes + 50] $STAGE2
$SUDO mount -t ext2 $STAGE2 $MNTPOINT -o loop
rmdir $MNTPOINT/lost+found
-$SUDO cp -a $STAGE2TMP/* $MNTPOINT
+$SUDO cp -a $STAGE2TMP/* $MNTPOINT || exit 1
$SUDO rm -rf $STAGE2TMP
df $MNTPOINT