瀏覽代碼

Merge pull request #1538 from tsujamin/update.sh-ininite-loop-fix

Fix infinite loop when parsing update.sh arguments
André Peters 7 年之前
父節點
當前提交
4a3de27bb9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      update.sh

+ 1 - 0
update.sh

@@ -28,6 +28,7 @@ while (($#)); do
       MERGE_STRATEGY=ours
     ;;
   esac
+  shift
 done
 
 [[ ! -f mailcow.conf ]] && { echo "mailcow.conf is missing"; exit 1;}