Apply suggestions from code review

Co-authored-by: Christoph <christophhummer@gmail.com>
This commit is contained in:
Kjeld Schouten-Lebbing
2022-04-07 13:17:32 +02:00
committed by GitHub
parent 4f2d323874
commit 2bcce9f74e

View File

@@ -13,8 +13,8 @@ cp -f /opt/scripts/user.sh /opt/scripts/start-user.sh >> /dev/null ||:
if [ -f /opt/scripts/start-user.sh ]; then
echo "---Found optional script, executing---"
chmod -f +x /opt/scripts/user.sh ||:
/opt/scripts/user.sh || echo "---Optional Script has thrown an Error---"
chmod -f +x /opt/scripts/start-user.sh.sh ||:
/opt/scripts/start-user.sh || echo "---Optional Script has thrown an Error---"
else
echo "---No optional script found, continuing---"
fi