From de5de906431f67e7a429631f905411ddedf704c0 Mon Sep 17 00:00:00 2001 From: olli Date: Wed, 28 Sep 2022 14:25:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eautoupdate.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autoupdate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoupdate.yml b/autoupdate.yml index 9dd2748..01563a9 100644 --- a/autoupdate.yml +++ b/autoupdate.yml @@ -72,7 +72,7 @@ block: | [ -e /root/server-$(hostname -s)/$(hostname -s).sh ] && bash -ex /root/server-$(hostname -s)/$(hostname -s).sh >/var/log/server-$(hostname -s)-update.log 2>&1 g_echo_warn "$(egrep -B1 "^changed" /var/log/server-$(g_echo_error "$(egrep -q -B1 -i "^error|^fatal" /var/log/server-$(hostname -s)-update.log && cat /var/log/server-$(hostname -s)-update.log)"hostname -s)-update.log)" - + g_echo_error "$(egrep -q -B1 -i "^error|^fatal" /var/log/server-$(hostname -s)-update.log && cat /var/log/server-$(hostname -s)-update.log)" backup: yes validate: /bin/bash -n %s