From 086f1cbbf2f93496f10f34417460405618ff77fb Mon Sep 17 00:00:00 2001 From: Histmy Date: Sun, 7 Nov 2021 14:06:43 +0100 Subject: [PATCH] finally fixed legacy sintax or whatever --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 76f1c74..2a97bf8 100644 --- a/start.sh +++ b/start.sh @@ -1,6 +1,6 @@ while true do - cas=`date +"%s"` + cas=$(date +"%s") if node . $neco then echo stahuju update @@ -11,7 +11,7 @@ do else echo exit code byl $? neco=neco - novejcas=`date +"%s"` + novejcas=$(date +"%s") if (($cas+86400<$novejcas)) then echo Pošlo to, let\'s restart