Fix "is db labeled test?" in chkselinuxenv script.
authorRobert Haas <rhaas@postgresql.org>
Thu, 1 Sep 2011 12:28:26 +0000 (08:28 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 1 Sep 2011 12:28:26 +0000 (08:28 -0400)
commit3d14bd2563cc527f250eed8d6d83e3ff62318675
treeda57b9f152affb56609ed79261c06a4c3cf64534
parentd5321842528dfb73f8254a48556b4adb1b6d1c5a
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.
contrib/sepgsql/chkselinuxenv