diff --git a/RebuildBdd/Checkup/check-postgresql.sh b/RebuildBdd/Checkup/check-postgresql.sh index ab9b0d1..b60da49 100755 --- a/RebuildBdd/Checkup/check-postgresql.sh +++ b/RebuildBdd/Checkup/check-postgresql.sh @@ -74,10 +74,6 @@ if ! "$SUDO_BIN" /usr/bin/systemctl --version >/dev/null 2>&1; then fail "sudo indisponible pour systemctl" fi -if ! "$SUDO_BIN" -u postgres /usr/bin/psql -d postgres -c "SELECT 1;" >/dev/null 2>&1; then - fail "sudo -u postgres indisponible" -fi - if [[ ! "$PGPORT" =~ ^[0-9]+$ ]]; then fail "PGPORT invalide : $PGPORT" fi