removed warning if script is run by root, that shouldn't happen anymore

This commit is contained in:
missytake 2022-04-08 13:17:48 +02:00
parent d6c3ab8549
commit 6aeb2b87c7

View file

@ -1,11 +1,5 @@
#!/bin/bash #!/bin/bash
if [ $(id -u) -eq 0 ]
then
echo "script is run by kanboard user now, this cronjob is obsolete"
exit 0
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR cd $DIR
. ./.env . ./.env