diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-08-21 23:31:15 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-08-21 23:31:15 +0200 |
commit | 8c24e930a269eee97784c8dad52f1ba222cff201 (patch) | |
tree | 7876c4c406e2f133917b1aaf8708dc66fabe2b27 | |
parent | 91c828ee147ba62ea5c614912e24ed63a5014e02 (diff) | |
download | eficast-8c24e930a269eee97784c8dad52f1ba222cff201.tar.gz eficast-8c24e930a269eee97784c8dad52f1ba222cff201.tar.bz2 eficast-8c24e930a269eee97784c8dad52f1ba222cff201.zip |
Fix minor shell error message "arithmetic error" in rc2
-rwxr-xr-x | make-boot-image.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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) |