X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere-server;h=c4f69850c7650ca9928ad69e701aee45039c9ad0;hb=2483b7de82423d6bf0dec774526a2ca9fef3d64d;hp=a73b2537b928ee4ac8c307af40758cc36cc6d0ea;hpb=53b6ca110b9a6f17a7c7bc22e4f10d55bb6c2fb1;p=monkeysphere.git diff --git a/src/monkeysphere-server b/src/monkeysphere-server index a73b253..c4f6985 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -866,9 +866,9 @@ add_certifier() { # export the key to the host keyring gpg_authentication "--export 0x${fingerprint}!" | gpg_host --import - if [ "$trust" == marginal ]; then + if [ "$trust" = marginal ]; then trustval=1 - elif [ "$trust" == full ]; then + elif [ "$trust" = full ]; then trustval=2 else failure "Trust value requested ('$trust') was unclear (only 'marginal' or 'full' are supported)."