removed warning if script is run by root, that shouldn't happen anymore
This commit is contained in:
parent
d6c3ab8549
commit
6aeb2b87c7
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue