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

missytake 2022-04-08 13:17:48 +02:00
parent d6c3ab8549
commit 6aeb2b87c7
1 changed files with 0 additions and 6 deletions

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