restart: Exit if not only 1 arg

This commit is contained in:
tschettervictor
2025-04-26 20:20:05 -06:00
committed by GitHub
parent f4ab5aea98
commit c43a9e054a

View File

@@ -87,6 +87,10 @@ while [ "$#" -gt 0 ]; do
esac
done
if [ "$#" -ne 1 ]; then
usage
fi
TARGET="${1}"
bastille_root_check