client_software cosmetic changes

This commit is contained in:
Daniel unbrot Pätzold
2026-05-08 12:07:54 +02:00
parent 10517de84e
commit 84527d6384
4 changed files with 23 additions and 8 deletions
@@ -7,7 +7,13 @@
#Check for root
if [ "$EUID" -ne 0 ]; then
echo "Error: Script requires root. Please check if ${SCRIPTPATH}/${SCRIPTNAME} is in sudoers rules and if you are a member. And if executed via sudo."
echo "Error: Script requires root."
exit 1
fi
#Check Token
if [ "${DAVTOKEN_USER}." == "." ]; then
echo "Error: Script cannot be executed standalone and needs a prereserved environment from sync_client_software.sh. Quit."
exit 1
fi