diff --git a/src/sbin/opnsense-installer b/src/sbin/opnsense-installer index 924f53371..6ee2b393f 100755 --- a/src/sbin/opnsense-installer +++ b/src/sbin/opnsense-installer @@ -29,12 +29,7 @@ if [ "$(id -u)" != "0" ]; then exit 1 fi -rm -f /tmp/install_complete - -# XXX ideally the exit code could tell us what /tmp/install_complete tried to do -bsdinstall opnsense - -if [ ! -f /tmp/install_complete ]; then +if ! bsdinstall opnsense; then echo "The installation was aborted." echo exit