Browse Source

Disable curses after inputting a pool if we requested no curses interface.

Con Kolivas 14 years ago
parent
commit
510bcc3d7e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main.c

+ 2 - 0
main.c

@@ -4699,6 +4699,8 @@ int main (int argc, char *argv[])
 		applog(LOG_WARNING, "Need to specify at least one pool server.");
 		if (!input_pool(false))
 			quit(1, "Pool setup failed");
+		if (!use_curses)
+			disable_curses();
 	}
 
 	for (i = 0; i < total_pools; i++) {