diff --git a/bin/myc-update b/bin/myc-update index 70997f4..dfd9bdb 100755 --- a/bin/myc-update +++ b/bin/myc-update @@ -23,7 +23,7 @@ if ! [ -d "/opt/apps/myc-manage" ]; then else cd /opt/apps/myc-manage && git checkout master && - git pull -r + git pull -r || exit 1 fi ln -sfn /opt/apps/myc-manage/bin/* /usr/local/sbin/