setup: Exit after auto configuring

This commit is contained in:
tschettervictor
2025-05-02 08:22:38 -06:00
committed by GitHub
parent 993a71b6d2
commit 9392d8d7a4

View File

@@ -239,6 +239,8 @@ if [ $# -eq 0 ]; then
configure_loopback_interface
configure_pf
configure_zfs
info "\nBastille has successfully been configured.\n"
exit 0
fi
# Handle options.
@@ -318,4 +320,4 @@ case "$1" in
*)
error_exit "[ERROR]: Unknown option: \"${1}\""
;;
esac
esac