From 3bbc55c56e5ff9cf50268bb19dab6a242d1a48a5 Mon Sep 17 00:00:00 2001 From: Locria Cyber <74560659+iacore@users.noreply.github.com> Date: Sun, 1 Oct 2023 08:41:44 +0000 Subject: [PATCH] Update updater --- proto/dumb-updater | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/dumb-updater b/proto/dumb-updater index 707f081..9b31c9f 100755 --- a/proto/dumb-updater +++ b/proto/dumb-updater @@ -4,13 +4,14 @@ cd (dirname (status -f))/.. set -l old_hash (git rev-parse HEAD) while true - git pull + git pull 2>&1 1>/tmp/status-updater-git-output or break set new_hash (git rev-parse HEAD) if test $old_hash != $new_hash set old_hash $new_hash + + cat /tmp/status-updater-git-output proto/deploy end sleep 60 end -