diff --git a/steps/10-wipe.step b/steps/10-wipe.step index a4780ff..e853f43 100755 --- a/steps/10-wipe.step +++ b/steps/10-wipe.step @@ -18,3 +18,4 @@ else amf_return=1 fi fi +return $amf_return diff --git a/steps/20-partition.step b/steps/20-partition.step index 5f435e8..cedf425 100755 --- a/steps/20-partition.step +++ b/steps/20-partition.step @@ -13,3 +13,4 @@ else echo "~> Failed. :(" amf_return=1 fi +return $amf_return diff --git a/steps/30-formatting.step b/steps/30-formatting.step index 1676651..3ebe3ed 100755 --- a/steps/30-formatting.step +++ b/steps/30-formatting.step @@ -28,3 +28,4 @@ mkdir -p /mnt/boot mount ${blockdevice}1 /mnt/boot amf_return=0 +return $amf_return diff --git a/steps/40-install.step b/steps/40-install.step index f63bdda..f8c5458 100755 --- a/steps/40-install.step +++ b/steps/40-install.step @@ -4,3 +4,4 @@ echo "~> Installing 'base' group and 'grub', 'efibootmgr'" pacstrap /mnt base grub efibootmgr amf_return=0 +return $amf_return diff --git a/steps/50-configure.step b/steps/50-configure.step index 859ab2d..c2fb478 100755 --- a/steps/50-configure.step +++ b/steps/50-configure.step @@ -43,3 +43,4 @@ echo "~> Patching pacman.conf for some pacman magic." arch-chroot /mnt sed -i "s/\[options\]/\[options\]\nILoveCandy/g" /etc/pacman.conf amf_return=0 +return $amf_return