mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-24 01:43:11 +01:00
[fix] Trap argument off by one
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user