stupid big jimmy. fix bug in previous bug fix.
[monkeysphere.git] / src / common
index 54ea9cb98c51a84200c3858f1e6666daef2ad7a4..9d7deb7c6251c7ab989f53b49e29fc6e69b6971d 100644 (file)
@@ -425,7 +425,7 @@ process_user_id() {
                # if the user ID does matches...
                if [ "$(echo "$uidfpr" | gpg_unescape)" = "$userID" ] ; then
                    # and the user ID validity is ok
-                   if [ "$validity" != 'u' -a "$validity" != 'f' ] ; then
+                   if [ "$validity" = 'u' -o "$validity" = 'f' ] ; then
                        # mark user ID acceptable
                        uidOK=true
                    fi