summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-20 22:13:39 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:35:27 +0000
commitcbb5afdc34691c3f72890a58b6e755730cd6b619 (patch)
tree1429578485a49ace5c77065db19ce8c17a8447c3
parentf9189b79bf9f4c070a831577c26b7f970d2f7aec (diff)
Fix logic to check for indent.pro
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rwxr-xr-xutil/openssl-format-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/openssl-format-source b/util/openssl-format-source
index 162103f5e9..8cf27d3af3 100755
--- a/util/openssl-format-source
+++ b/util/openssl-format-source
@@ -35,7 +35,7 @@ COMMENTS=false
# our own indent profile, which is at a well known location
INDENT_PROFILE="$HERE/indent.pro"
export INDENT_PROFILE
-if [ -f "$INDENT_PROFILE" ]; then
+if [ ! -f "$INDENT_PROFILE" ]; then
echo "$0: unable to locate the openssl indent.pro file" >&2
exit 1
fi