add a couple of bugs about posix compliance and the use of getopts
[monkeysphere.git] / src / monkeysphere-server
index a73b2537b928ee4ac8c307af40758cc36cc6d0ea..c4f69850c7650ca9928ad69e701aee45039c9ad0 100755 (executable)
@@ -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)."