[ROSBE-UNIX] Only check for root on an interactive installation.

This commit is contained in:
Colin Finck 2021-06-17 20:28:50 +02:00
parent ee9cf1817a
commit be82770b2b
No known key found for this signature in database
GPG Key ID: 1BA74E70456BA1A9

View File

@ -70,7 +70,11 @@ if [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "--help" ]; then
exit 0
fi
check_root
# Only check for root on an interactive installation.
if [ "$1" = "" ]; then
check_root
fi
rs_check_requirements
reinstall=false