diff --git a/client/src/cmdlfindala.c b/client/src/cmdlfindala.c index 8abfc8585..e18f34301 100644 --- a/client/src/cmdlfindala.c +++ b/client/src/cmdlfindala.c @@ -678,7 +678,7 @@ static int CmdIndalaClone(const char *Cmd) { return PM3_EINVARG; } - if (!got_26 & fmt4041x) { + if ((!got_26) && fmt4041x) { PrintAndLogEx(FAILED, "You must specify a facility code and card number when using 4041X format"); return PM3_EINVARG; }