Browse Source

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

Fix infinite loop when parsing update.sh arguments
André Peters 7 năm trước cách đây
mục cha
commit
4a3de27bb9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;}