Skip to content

Commit f4913f6

Browse files
authored
Update commands.sh
1 parent 626d732 commit f4913f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎script/php/commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function wsuWordPress()
204204
echo "wp-cli $@"
205205
echo ""
206206

207-
sudo -u $EXPECTED_USER -H XDEBUG_MODE=off ${PHP_CLI} ${WPCLI_FILE_PATH} --path="${WEBROOT_DIR%*/}/" "$@"
207+
sudo -u $EXPECTED_USER -H XDEBUG_MODE=off ${PHP_CLI} ${WPCLI_FILE_PATH} --path="${WEBROOT_DIR%*/}/" --allow-root "$@"
208208

209209
cd "${CURR_DIR_BACKUP}"
210210
}

0 commit comments

Comments
 (0)