X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=blobdiff_plain;f=configs%2Fkeygen.sh;fp=configs%2Fkeygen.sh;h=aa47b68d9d59834f0ad6874493074fa78db865f9;hp=76e91f532e8b59fb840b8bf0347c21eb7f8a441f;hb=cba59171fe5213bfeefe8b200674634d0b211c6f;hpb=06be436a901bd1f45eb3d21e59101b9784d66839 diff --git a/configs/keygen.sh b/configs/keygen.sh index 76e91f5..aa47b68 100755 --- a/configs/keygen.sh +++ b/configs/keygen.sh @@ -17,7 +17,7 @@ if [ -n "$FORCE" ] ; then rm sp-key.pem sp-cert.pem fi -if [ -e sp-key.pem -o -e sp-cert.pem ] ; then +if [ -s sp-key.pem -o -s sp-cert.pem ] ; then if [ -z "$BATCH" ] ; then echo The files sp-key.pem and/or sp-cert.pem already exist! echo Use -f option to force recreation of keypair.