From f80d726319a06e28ed5179476f254b83aa467115 Mon Sep 17 00:00:00 2001 From: remittor Date: Tue, 14 Jan 2025 15:32:42 +0300 Subject: [PATCH] xupdate: Check result of git pull --- xupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xupdate.sh b/xupdate.sh index 0ab65ac..572da86 100755 --- a/xupdate.sh +++ b/xupdate.sh @@ -37,7 +37,7 @@ git fetch [ "$?" != "0" ] && die "Can't fetch current repository" git pull --force "origin" &> /dev/null -#[ "$?" != "0" ] && die "Can't pull current repository" +[ "$?" != "0" ] && die "Can't pull current repository" CUR_BRANCH=$( git rev-parse --abbrev-ref HEAD )