From 7b967dc1aabd32af745adff7d684e8c8a051ecfb Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 9 Feb 2012 16:10:30 +0100 Subject: [PATCH] After USB error, wait a while before attempting to reconnect Otherwise we would spam syslog too much. --- arexxd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arexxd.c b/arexxd.c index e3214a5..005c2a3 100644 --- a/arexxd.c +++ b/arexxd.c @@ -622,6 +622,7 @@ int main(int argc, char **argv) log_info("Disconnecting data logger"); release_device(); inited = 0; + sleep(10); } log_info("Terminated"); -- 2.39.5