diff options
author | Rob Crittenden <rcritten@redhat.com> | 2016-02-24 09:18:25 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2016-02-29 16:09:17 -0500 |
commit | 31a5ff02f6ff251629d597d43ee88fadb135ff8b (patch) | |
tree | 26670cec74db4ea29778d1b4ba424ecbd5ce8115 | |
parent | ae8c616ade2199ca26bd39374707d44a04be7db3 (diff) | |
download | mod_nss-31a5ff02f6ff251629d597d43ee88fadb135ff8b.tar.gz mod_nss-31a5ff02f6ff251629d597d43ee88fadb135ff8b.tar.xz mod_nss-31a5ff02f6ff251629d597d43ee88fadb135ff8b.zip |
Use proper shell syntax to avoid creating /0
I used if [ $x > 0 ]; ... which is obviously wrong :-(
https://bugzilla.redhat.com/show_bug.cgi?id=1311392
-rwxr-xr-x | gencert.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ $CERTUTIL -A -d $DBDIR -n Server-Cert \ rm $DEST/tmpcert.der -if [ $SNI > 0 ]; then +if [ $SNI -gt 0 ]; then SNI=`expr $SNI + 1` count=1 while test $count -lt $SNI ; do |