summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-19 18:04:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-19 18:04:21 +0000
commit25cee64b1d0707a89cfb66d2cf50caf7c72926eb (patch)
tree1631a4f444cd571f6290ff2c04b37364361dfa09 /tools
parent67f39b21b2fb6c254432c91d4f40256e66189eb5 (diff)
downloaddrakx-backup-do-not-use-25cee64b1d0707a89cfb66d2cf50caf7c72926eb.tar
drakx-backup-do-not-use-25cee64b1d0707a89cfb66d2cf50caf7c72926eb.tar.gz
drakx-backup-do-not-use-25cee64b1d0707a89cfb66d2cf50caf7c72926eb.tar.bz2
drakx-backup-do-not-use-25cee64b1d0707a89cfb66d2cf50caf7c72926eb.tar.xz
drakx-backup-do-not-use-25cee64b1d0707a89cfb66d2cf50caf7c72926eb.zip
catch kernel 2.6 loop bug
Diffstat (limited to 'tools')
-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