diff --git a/src/Preflight/Preflight.php b/src/Preflight/Preflight.php index 726f2dea45..4c5514ecdf 100644 --- a/src/Preflight/Preflight.php +++ b/src/Preflight/Preflight.php @@ -268,7 +268,7 @@ public function preflight($argv) // a site-local Drush. If there is, we will redispatch to it. // NOTE: termination handlers have not been set yet, so it is okay // to exit early without taking special action. - $status = RedispatchToSiteLocal::redispatchIfSiteLocalDrush($argv, $root, $this->environment->vendorPath(), $this->logger()) ; + $status = RedispatchToSiteLocal::redispatchIfSiteLocalDrush($argv, realpath($root), $this->environment->vendorPath(), $this->logger()) ; if ($status !== false) { return $status; }