diff options
-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 |