X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fgpg;h=189e608e5f53407296e46fd74d629fcfb22379eb;hb=c87bf180aad847ddc669f22fd5ff2568b74e6914;hp=3993f4284985bd052f16981ae2d1a31c9ed1d9e8;hpb=eaf3b55b68944f0a495c560ebf39f7762142c5e6;p=myplc.git diff --git a/plc.d/gpg b/plc.d/gpg index 3993f42..189e608 100755 --- a/plc.d/gpg +++ b/plc.d/gpg @@ -99,12 +99,12 @@ EOF | grep "$PLC_MAIL_SUPPORT_ADDRESS" \ | grep "http://$PLC_WWW_HOST/" - if [ $? -ne 1 ]; then + if [ $? -ne 0 ]; then gpg --homedir=$homedir --no-permission-warning --batch --no-tty --yes \ --no-default-keyring \ --secret-keyring=$PLC_ROOT_GPG_KEY \ --keyring=$PLC_ROOT_GPG_KEY_PUB \ - --Command-Fd 0 --status-fd 1 --edit-key $fingerprint <