From e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 4 May 2012 21:47:06 +0200 Subject: bashrc/main: leave .dotfiles directory after timeout --- bashrc/main.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bashrc') diff --git a/bashrc/main.sh b/bashrc/main.sh index 3ecae9f..c78f500 100644 --- a/bashrc/main.sh +++ b/bashrc/main.sh @@ -22,6 +22,7 @@ _self_update() { timeout 3s git fetch origin 2>/dev/null if [[ "$?" == "124" ]]; then echo -e "\033[31m*\033[0m timeout: git fetch origin" + popd &>/dev/null return fi else -- cgit v1.2.3