From 038302943a9a28385b61e605203cd269e56fb216 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Fri, 10 Jan 2020 09:58:17 +0100 Subject: [PATCH] Remove root in shell command --- inc/composer/class-command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/composer/class-command.php b/inc/composer/class-command.php index fb5148d9..2834520a 100644 --- a/inc/composer/class-command.php +++ b/inc/composer/class-command.php @@ -321,7 +321,7 @@ protected function shell( InputInterface $input, OutputInterface $output ) { $columns = exec( 'tput cols' ); $lines = exec( 'tput lines' ); passthru( sprintf( - 'cd %s; VOLUME=%s COMPOSE_PROJECT_NAME=%s docker-compose exec -e COLUMNS=%d -e LINES=%d -u root php /bin/bash', + 'cd %s; VOLUME=%s COMPOSE_PROJECT_NAME=%s docker-compose exec -e COLUMNS=%d -e LINES=%d php /bin/bash', 'vendor/altis/local-server/docker', escapeshellarg( getcwd() ), $this->get_project_subdomain(),