From fca50660a26864a65381312acc561b34f3c8ade1 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Fri, 4 Dec 2020 09:33:28 -0500 Subject: [PATCH] [fix] Trap argument off by one --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index 8dcce0e9b..1ea238a38 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -432,7 +432,7 @@ echo "1" > /root/accept_changes trap 'catch $LINENO' SIGUSR1 catch() { - info "Fatal error occurred at $2 in so-setup, failing setup." + info "Fatal error occurred at $1 in so-setup, failing setup." whiptail_setup_failed exit }