From 84307e85f267c042492f04cd5c0438f881c5c40a Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 10 Jun 2019 21:44:22 +0200 Subject: [PATCH] [Update] Hide error when running git rm on old worker passwd file --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 73f4f0a0..a931c331 100755 --- a/update.sh +++ b/update.sh @@ -316,7 +316,7 @@ git remote set-url origin https://github.com/mailcow/mailcow-dockerized echo -e "\e[32mCommitting current status...\e[0m" [[ -z "$(git config user.name)" ]] && git config user.name moo [[ -z "$(git config user.email)" ]] && git config user.email moo@cow.moo -git rm data/conf/rspamd/override.d/worker-controller-password.inc +git rm data/conf/rspamd/override.d/worker-controller-password.inc 2> /dev/null git add -u git commit -am "Before update on ${DATE}" > /dev/null echo -e "\e[32mFetching updated code from remote...\e[0m"