Просмотр исходного кода

fix(bin/emqx): ensure -noinput is prior to -noshell

iex seems to depend on this order, otherwise it terminiates right
after boot
zmstone 1 год назад
Родитель
Сommit
c7f585cc21
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/emqx

+ 1 - 1
bin/emqx

@@ -1199,7 +1199,7 @@ case "${COMMAND}" in
         esac
         case "$COMMAND" in
             foreground)
-                FOREGROUNDOPTIONS="-enable-feature maybe_expr -noshell -noinput +Bd"
+                FOREGROUNDOPTIONS="-enable-feature maybe_expr -noinput -noshell +Bd"
                 ;;
             *)
                 FOREGROUNDOPTIONS='-enable-feature maybe_expr'