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 6aa0760b7..af30ef995 100755
--- a/tools/make_mdkinst_stage2
+++ b/tools/make_mdkinst_stage2
@@ -28,7 +28,7 @@ fi
$SUDO rm -rf $STAGE2TMP
install -d $STAGE2TMP
-$SUDO cp -a $DEST/* $STAGE2TMP
+$SUDO cp -a $DEST/* $STAGE2TMP || exit 1
#mkdir -p $MNTPOINT 2>/dev/null
#for i in $MNTPOINT $STAGE2; do $SUDO umount $i 2>/dev/null ; done