summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-09-12 17:04:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-09-12 17:04:53 +0000
commit1ba9772fd1960d713753c664db2bc621754e1c6f (patch)
tree3f229af687dcc52a50e740f05b06a2b95580ed27
parentcadda1b3b7d9627b66ca226b7dfabd79e0409d66 (diff)
downloaddrakx-1ba9772fd1960d713753c664db2bc621754e1c6f.tar
drakx-1ba9772fd1960d713753c664db2bc621754e1c6f.tar.gz
drakx-1ba9772fd1960d713753c664db2bc621754e1c6f.tar.bz2
drakx-1ba9772fd1960d713753c664db2bc621754e1c6f.tar.xz
drakx-1ba9772fd1960d713753c664db2bc621754e1c6f.zip
die if cp failed
-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