]> granicus.if.org Git - ejabberd/commitdiff
Fix iexdebug and iexlive commands (#1981)
authorChristophe Romain <christophe.romain@process-one.net>
Mon, 18 Sep 2017 10:59:18 +0000 (12:59 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Mon, 18 Sep 2017 11:01:10 +0000 (13:01 +0200)
ejabberdctl.template

index 9d47334a2be3f93ee700e446438da42cc6582b2b..3f47bbf53f6faf99cb46fb119cdeaf5923ce990b 100755 (executable)
@@ -120,7 +120,7 @@ exec_erl()
 exec_iex()
 {
     NODE=$1; shift
-    exec_cmd "$IEX" ${S:---}name $NODE --erl "$ERLANG_OPTS" "$@"
+    exec_cmd "$IEX" -${S:--}name $NODE --erl "$ERLANG_OPTS" "$@"
 }
 
 # usage