summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archiso/hooks/archiso4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index 336a014..bed8f7a 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -103,6 +103,10 @@ run_hook ()
msg ":: Mounting root (aufs) filesystem"
/bin/mount -t aufs -o dirs=/tmpfs=rw none /real_root
+ if [ $? -ne 0 ]; then
+ echo "ERROR: while mounting root (aufs) filesystem."
+ exit 1
+ fi
export LOOP_NUM="0"
msg ":: Mounting images"