From 8c24e930a269eee97784c8dad52f1ba222cff201 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Wed, 21 Aug 2019 23:31:15 +0200 Subject: Fix minor shell error message "arithmetic error" in rc2 --- make-boot-image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make-boot-image.sh b/make-boot-image.sh index 88f3e68..855176d 100755 --- a/make-boot-image.sh +++ b/make-boot-image.sh @@ -648,7 +648,9 @@ network_up network_conf network_show machine_info -/etc/rc.d/initrd-autorun && eficast_end +set -e # Go in rescue shell if any futher step goes wrong +/etc/rc.d/initrd-autorun +eficast_end EOF add_initrd_script etc/rc.d/initrd-autorun <<"EOF" echo -ne "\e]2;$0\007" # Term title (tmux) -- cgit v1.2.3