diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-04 21:47:06 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-04 21:47:06 +0200 |
commit | e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9 (patch) | |
tree | f0b77677a24aeeec9201b15c886001fe517805f4 /bashrc | |
parent | 6ba964aa8b846b9fc02ddf318aa0158fcbf73e4b (diff) | |
download | dotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.tar.gz dotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.tar.xz dotfiles-e49071ac0a2c2f8a3660a94bbbc9d457331d6ad9.zip |
bashrc/main: leave .dotfiles directory after timeout
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc/main.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |