From: Oleg Broytman Date: Thu, 26 May 2016 07:57:32 +0000 (+0300) Subject: Minor refactoring X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=39d3f753224b9115d19cb96ac1110540d2eefc84;p=git-scripts.git Minor refactoring --- diff --git a/update b/update index 17d6cf2..205c7c6 100755 --- a/update +++ b/update @@ -8,7 +8,7 @@ if [ -n "$origin" ]; then echo "Config error (both origin and current)" >&2 exit 1 else - cd "$origin" || exit 1 + cd "$origin" && exec ./update fi elif [ -z "$current" ]; then