From 6aeb2b87c7ab81fcf6a1f16580f05257e3964c63 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 8 Apr 2022 13:17:48 +0200 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