summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
Diffstat (limited to 'ship')
-rwxr-xr-xship/src/remaster_arch_iso4
1 files changed, 1 insertions, 3 deletions
diff --git a/ship/src/remaster_arch_iso b/ship/src/remaster_arch_iso
index 046b005b..d089f872 100755
--- a/ship/src/remaster_arch_iso
+++ b/ship/src/remaster_arch_iso
@@ -27,9 +27,7 @@ info "mounting isofile ($isofile)"
if is_root;then
mount -t iso9660 -o loop,ro $isofile $isomnt
else
- error "we are not root enough to mount the iso. Bailing Out"
- exit 1
-
+ die 'we are not root enough to mount the iso. Bailing Out'
fi
defer "info 'unmounting $isomnt';umount $isomnt"