@@ -1,4 +1,4 @@
-VERSION=1.0
+VERSION=1.1
ARCHIVE=arexxd-$(VERSION).tar.gz
CC=gcc
@@ -563,9 +563,11 @@ int main(int argc, char **argv)
want_sleep = 1;
if (err > 0 && parse_packet(reply))
want_sleep = 0;
- want_stats = 1;
sigprocmask(SIG_UNBLOCK, &term_sigs, NULL);
- sleep(4);
+ if (want_sleep) {
+ sleep(4);
+ want_stats = 1;
+ }
sigprocmask(SIG_BLOCK, &term_sigs, NULL);
}