Skip to content

Commit

Permalink
UHF-10354: Fix is_drupal_module_enabled command
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Aug 11, 2024
1 parent 5a25aa4 commit 5ff1ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/openshift/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function deployment_in_progress {
}

function is_drupal_module_enabled {
if drush pm-list --status=Enabled --filter=${1} --format=json | jq '. == []'; then
if drush pm-list --status=Enabled --filter=${1} --format=json | jq --exit-status '. == []' > /dev/null; then
return 1
fi

Expand Down

0 comments on commit 5ff1ac5

Please sign in to comment.