Przeglądaj źródła

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

iex seems to depend on this order, otherwise it terminiates right
after boot
zmstone 1 rok temu
rodzic
commit
c7f585cc21
1 zmienionych plików z 1 dodań i 1 usunięć
  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'