summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-08-26 08:51:23 +0000
committerAndy Polyakov <appro@openssl.org>2007-08-26 08:51:23 +0000
commit67c31c4b613eae3ec07b15c13c43bc93f4ea36c7 (patch)
tree5a710d228d9be0c1b71b0707913adbef90fada96
parent0406ce26460d2b656ddcb3ffadc325d1cc91da15 (diff)
downloadopenssl-new-67c31c4b613eae3ec07b15c13c43bc93f4ea36c7.tar.gz
Short circuit ranlib in trap handler.
-rwxr-xr-xfips/fipsld2
1 files changed, 1 insertions, 1 deletions
diff --git a/fips/fipsld b/fips/fipsld
index 5d7758144f..542db566b4 100755
--- a/fips/fipsld
+++ b/fips/fipsld
@@ -128,7 +128,7 @@ libcrypto*|*.dll) # must be linking a shared lib...
# Temporarily remove fipscanister.o from libcrypto.a!
# We are required to use the standalone copy...
trap 'ar r "${THERE}/libcrypto.a" "${CANISTER_O}";
- (ranlib "${THERE}/libcrypto.a") 2>/dev/null;
+ (ranlib "${THERE}/libcrypto.a") 2>/dev/null || :;
sleep 1;
touch -c "${TARGET}"' 0