diff --git a/ui/irqbalance-ui.c b/ui/irqbalance-ui.c index 959b312..3ad3553 100644 --- a/ui/irqbalance-ui.c +++ b/ui/irqbalance-ui.c @@ -104,8 +104,10 @@ char * get_data(char *string) /* Send "setup" to get sleep interval, banned IRQs and banned CPUs, * "stats" to get CPU tree statistics */ + int socket_fd; + try_again: - int socket_fd = init_connection(); + socket_fd = init_connection(); if(!socket_fd) { return NULL; }