Commit 5d96d662 authored by Vitaly Lipatov's avatar Vitaly Lipatov

evz: use first engine by default

parent e7f1ef55
...@@ -41,7 +41,7 @@ MCTL="" ...@@ -41,7 +41,7 @@ MCTL=""
EVZCTL_supported="" EVZCTL_supported=""
for i in $SUPPORTED_ENGINES ; do for i in $SUPPORTED_ENGINES ; do
which $i 2>/dev/null >/dev/null || continue which $i 2>/dev/null >/dev/null || continue
MCTL="$i" [ -n "$MCTL" ] || MCTL="$i"
[ "$EVZCTL" = "$i" ] && EVZCTL_supported="$EVZCTL" && break [ "$EVZCTL" = "$i" ] && EVZCTL_supported="$EVZCTL" && break
done done
[ -n "$EVZCTL_supported" ] && MCTL="$EVZCTL_supported" [ -n "$EVZCTL_supported" ] && MCTL="$EVZCTL_supported"
......
...@@ -46,7 +46,7 @@ todo() ...@@ -46,7 +46,7 @@ todo()
# TODO: add all support for all cases # TODO: add all support for all cases
evz_qm() evz_pct()
{ {
CMD=$1 CMD=$1
shift shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment