From: Martin Mares Date: Thu, 9 Feb 2012 15:10:30 +0000 (+0100) Subject: After USB error, wait a while before attempting to reconnect X-Git-Tag: v1.2~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7b967dc1aabd32af745adff7d684e8c8a051ecfb;p=arexx.git After USB error, wait a while before attempting to reconnect Otherwise we would spam syslog too much. --- 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");