From 3514bbb9df7c815fae885c4c83d96ac0a948341e Mon Sep 17 00:00:00 2001 From: "0x90.space" Date: Thu, 7 Dec 2023 21:55:15 +0000 Subject: [PATCH] removed warning if script is run by root, that shouldn't happen anymore --- backup.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backup.sh b/backup.sh index 4b957fb..315abcb 100755 --- a/backup.sh +++ b/backup.sh @@ -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