From 2e2d091bfdd9bac236905aa6c6a2a5d31b9cf698 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 27 Oct 2011 13:46:13 +0000 Subject: [PATCH] nfc-list: continue to attempt to reach devices after a connection failure. --- utils/nfc-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/nfc-list.c b/utils/nfc-list.c index 8925f26..58207a0 100644 --- a/utils/nfc-list.c +++ b/utils/nfc-list.c @@ -121,7 +121,7 @@ main (int argc, const char *argv[]) if (pnd == NULL) { ERR ("%s", "Unable to connect to NFC device."); - return EXIT_FAILURE; + continue; } nfc_initiator_init (pnd);