summary refs log tree commit diff
path: root/mthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'mthread.c')
-rw-r--r--mthread.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mthread.c b/mthread.c
index 6016199..b6744ad 100644
--- a/mthread.c
+++ b/mthread.c
@@ -374,12 +374,10 @@ main(int argc, char *argv[])
  			exit(1);
  		}
 
-	if (argc == optind && isatty(0)) {
-		char *all[] = { ":" };
-		i = blaze822_loop(1, all, thread);
-	} else {
+	if (argc == optind && isatty(0))
+		i = blaze822_loop1(":", thread);
+	else
 		i = blaze822_loop(argc-optind, argv+optind, thread);
-	}
 
 	find_roots();
 	if (!vflag)