From 9e0caca46f80549560f33e728e444afb9bd53002 Mon Sep 17 00:00:00 2001 From: leo <426742@gmail.com> Date: Thu, 8 Aug 2024 06:37:47 +0500 Subject: [PATCH] c --- cron-list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron-list.sh b/cron-list.sh index 32afd80..6841017 100644 --- a/cron-list.sh +++ b/cron-list.sh @@ -1,6 +1,6 @@ #!/bin/bash -CRON_LIST=/data/$SRV_START_DIR/cron.cfg +CRON_LIST=/data/config/$SRV_START_DIR/cron.cfg trap 'echo -e "\033[31mSomething went wrong\033[0m"; exit 1' EXIT set -e @@ -9,7 +9,7 @@ export DEBIAN_FRONTEND=noninteractive # Checking for the presence of the cron.list file if [ ! -f $CRON_LIST ]; then - echo "cron.list file not found!" + echo "cron.cfg file not found!" exit 1 fi