about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/seq.c b/seq.c
index 15e7b25..939eae7 100644
--- a/seq.c
+++ b/seq.c
@@ -337,7 +337,7 @@ blaze822_loop(int argc, char *argv[], void (*cb)(char *))
 	ssize_t rd;
 	int i = 0;
 
-	if (argc == 0 || (argc == 1 && strcmp(argv[0], "-") == 0)) {
+	if (argc == 0) {
 		while ((rd = getdelim(&line, &linelen, '\n', stdin)) != -1) {
 			if (line[rd-1] == '\n')
 				line[rd-1] = 0;