Fix "is db labeled test?" in chkselinuxenv script.

Robert Haas <rhaas@postgresql.org>

Commit: 3d14bd2563cc527f250eed8d6d83e3ff62318675
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-09-01T12:28:26Z
Releases: 9.2.0
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

PathChange+/−
contrib/sepgsql/chkselinuxenv modified +1 −1