From 860b982556ec851db7f2d82110bdc7d8221facaa Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 23 Nov 2022 12:56:22 +0100 Subject: [PATCH] better error message --- server/lib/bkctld-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/bkctld-stats b/server/lib/bkctld-stats index 8e69f12..e023a14 100755 --- a/server/lib/bkctld-stats +++ b/server/lib/bkctld-stats @@ -15,7 +15,7 @@ ionice -c3 "${DUC}" index -d "${IDX_FILE}" "${JAILDIR}" touch "${INDEX_DIR}/.lastrun.duc" EOF -[ ! -f "${INDEX_DIR}/.lastrun.duc" ] && notice "First run of DUC always in progress ..." && exit 0 +[ ! -f "${INDEX_DIR}/.lastrun.duc" ] && notice "First run of DUC still in progress ..." && exit 0 [ ! -f ${IDX_FILE} ] && error "Index file doesn't exits !" printf "Last update of index file : "