Closed runningman84 closed 8 years ago
It looks like the return code of the register function is always 1:
root@default-ubuntu-1404:/etc/letsencrypt# /usr/local/bin/letsencrypt.sh register -a account.key -e test@example.org ; echo $? register account account already exists 1 root@default-ubuntu-1404:/etc/letsencrypt# rm account.key root@default-ubuntu-1404:/etc/letsencrypt# /usr/local/bin/letsencrypt.sh register -a account.key -e test@example.org ; echo $? could not read account key 1 root@default-ubuntu-1404:/etc/letsencrypt# openssl genrsa -out account.key 4096 Generating RSA private key, 4096 bit long modulus ..........................++ .....++ e is 65537 (0x10001) root@default-ubuntu-1404:/etc/letsencrypt# /usr/local/bin/letsencrypt.sh register -a account.key -e test@example.org ; echo $? register account 1 root@default-ubuntu-1404:/etc/letsencrypt#
Please return 0 in case of a success.
It looks like the return code of the register function is always 1:
Please return 0 in case of a success.