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

pyinfra
0x90.space 2023-12-07 21:55:15 +00:00
parent 77a54841dc
commit 3514bbb9df
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