Permalink
Browse files

sbin/clone-vhost: fix path of webenabled-version command

  • Loading branch information...
vmmello committed Nov 30, 2018
1 parent a647975 commit 3006e21786950a0648b7344c8b38ac88ec308acc
Showing with 3 additions and 2 deletions.
  1. +3 −2 sbin/clone-vhost
@@ -86,8 +86,9 @@ remove_auth_tmp_authorized_keys()
}


if target_webenabled_version=`WEBENABLED_SERVER="$target_server" $dir/old-we-v1/webenabled-version` &&
[ -n "$target_webenabled_version" ] &&
if target_webenabled_version=`WEBENABLED_SERVER="$target_server" \
$dir/../libexec/old-we-v1/webenabled-version` && \
[ -n "$target_webenabled_version" ] && \
expr "$target_webenabled_version" '>=' 2010-12-31-grg >/dev/null
then
echo target_supports_clone_vhost_proxy=1

0 comments on commit 3006e21

Please sign in to comment.