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

This commit is contained in:
0x90.space 2023-12-07 21:55:15 +00:00
parent 77a54841dc
commit 3514bbb9df

View file

@ -1,11 +1,5 @@
#!/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 )"
cd $DIR
. ./.env