pgsql: Fix "is db labeled test?" in chkselinuxenv script.
pgsql: Fix "is db labeled test?" in chkselinuxenv script.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
Fix "is db labeled test?" in chkselinuxenv script. Don't test whether the number of labels is numerically equal to zero; count(*) isn't going return zero anyway, and the current coding blows up if it returns an empty string or an error. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/3d14bd2563cc527f250eed8d6d83e3ff62318675 Modified Files -------------- contrib/sepgsql/chkselinuxenv | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)