]> granicus.if.org Git - postgresql/commitdiff
Add missing brackets to chkselinuxenv.
authorRobert Haas <rhaas@postgresql.org>
Fri, 23 Sep 2011 21:02:09 +0000 (17:02 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 23 Sep 2011 21:02:09 +0000 (17:02 -0400)
contrib/sepgsql/chkselinuxenv

index a9425de88e2c6e011dc8bd747fb09fe28091e1c5..a7c81b2fc871b1974eb9261bf84d573bde41893f 100755 (executable)
@@ -127,7 +127,7 @@ if [ "${POLICY_STATUS}" != "on" ]; then
     echo "turned on in order to enable the rules necessary to run the"
        echo "regression tests."
        echo ""
-       if "${POLICY_STATUS}" = ""; then
+       if [ "${POLICY_STATUS}" = "" ]; then
                echo "We attempted to determine the state of this Boolean using"
                echo "'getsebool', but that command did not produce the expected"
                echo "output.  Please verify that getsebool is available and in"