My cron jobs have started generating this error when they run:
/var/lib/openmediavault/cron.d/userdefined-dbb98954-0865-4e9a-9c13-xxxxxxxxxxxxx: 20: /etc/profile.d/armbian-check-first-login.sh: Syntax error: "(" unexpected
It seems to be triggering the script that runs on first login for the user, even though the user (root) has logged in previously.
I have tried deleting / recreating the cron jobs but that doesn't change anything.
The cron jobs run just fine when I start them manually.
Any ideas?