From 138a95b053d213a0eec6b5e995ffc8825130f650 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 20 Sep 2023 12:13:08 +0200 Subject: [supd] changed message format --- bin/extra/supd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/extra/supd b/bin/extra/supd index b4347b2..931d808 100755 --- a/bin/extra/supd +++ b/bin/extra/supd @@ -8,8 +8,10 @@ check () do print_dir "$2/$dir" cd "$2/$dir" || continue - git pull 2> /dev/null | tr -d '\n' - echo + git pull > /dev/null 2>&1 && + printf 'Up to date.' || + printf 'Couldn'\''t update.' + printf '\n' done } -- cgit v1.2.3