From 1ba9772fd1960d713753c664db2bc621754e1c6f Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 12 Sep 2003 17:04:53 +0000 Subject: die if cp failed --- tools/make_mdkinst_stage2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.1