Skip to content

Commit

Permalink
Remove root in shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
joehoyle authored Jan 10, 2020
1 parent 024590a commit 0383029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/composer/class-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 0383029

Please sign in to comment.