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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/sepgsql/chkselinuxenv | modified | +1 −1 |