changeset 1:9b1165b3f241

Limiting time of update
author Dominic Cleal <dominic-cleal@cdo2.com>
date Fri, 20 Nov 2009 11:53:16 +0000
parents d7fc9c3b4d87
children afafc5126f8c
files sshfp_update.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sshfp_update.sh	Thu Nov 19 11:54:21 2009 +0000
+++ b/sshfp_update.sh	Fri Nov 20 11:53:16 2009 +0000
@@ -33,5 +33,5 @@
 RSA_FP=$(ssh-keygen -lf "$RSA_KEY" | awk '{ print $2 }')
 DSA_FP=$(ssh-keygen -lf "$DSA_KEY" | awk '{ print $2 }')
 
-exec curl "$URL?action=update&rsa=$RSA_FP&dsa=$DSA_FP"
+exec curl --max-time=30 "$URL?action=update&rsa=$RSA_FP&dsa=$DSA_FP"