summaryrefslogtreecommitdiffstats
path: root/ship/src/remaster_arch_iso
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-14 10:03:11 +0100
committertv <tv@nomic.retiolum>2013-11-14 10:03:11 +0100
commitdec9eefb3608044a62d285a5e0b7185bc610086c (patch)
tree2005fe61c88e93dc056e8bdf376d10880a937cb5 /ship/src/remaster_arch_iso
parente0d26a15c326176e3a886da89bffda0722e8ea1b (diff)
ship remaster_arch_iso: s/error;exit/die/
Diffstat (limited to 'ship/src/remaster_arch_iso')
-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"