Allow running bastille and subcomands with help flags as regular user

This commit is contained in:
Lars Engels
2023-03-16 20:58:11 +01:00
parent 6776427e5a
commit 64c3b6045e
33 changed files with 74 additions and 14 deletions

View File

@@ -48,6 +48,8 @@ elif [ $# -eq 1 ]; then
TARGET_FILENAME="${1}"
fi
bastille_root_check
if [ -z "${EDITOR}" ]; then
EDITOR=vi
fi