From b0c8927aed6692233260d3ec518a0cceaf6a1d9f Mon Sep 17 00:00:00 2001 From: jrwimmer <67992074+jrwimmer@users.noreply.github.com> Date: Mon, 20 Dec 2021 21:55:21 -0800 Subject: [PATCH] Restored missing parameter * perform_step was not passing the tmpfile used for error processing --- modules/extroot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/extroot b/modules/extroot index b6aa372..27d2594 100644 --- a/modules/extroot +++ b/modules/extroot @@ -80,6 +80,8 @@ function check_network { echo "\nLAN Turtle could not connect to $opkg_baseurl\nVerify the device's internet connection and try again (wget error $wget_returncode)" > $1 return 1 fi + + sleep 3 } function install_dependencies { @@ -190,7 +192,7 @@ function perform_step { echo 0 > "$active_tmpfile" # Perform the requested step - eval "$1" | dialog --progressbox "$2" 14 72 + eval "$1" "$active_tmpfile" | dialog --progressbox "$2" 14 72 # Retrieve the last error written to the tmpfile last_return_code=$(cat "$active_tmpfile")