about summary refs log tree commit diff
path: root/seq.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-22 21:28:51 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-22 21:28:51 +0200
commit9a3d45785e0c116159f90cce3f19cc2769baa1fb (patch)
tree2087aff721d80e94e6eb7d60b823c40bc135f495 /seq.c
parent9da61f69f7f3274db4a3bea58842173f2889d156 (diff)
downloadmblaze-9a3d45785e0c116159f90cce3f19cc2769baa1fb.tar.gz
mblaze-9a3d45785e0c116159f90cce3f19cc2769baa1fb.tar.xz
mblaze-9a3d45785e0c116159f90cce3f19cc2769baa1fb.zip
seq: blaze822_loop: drop - for stdin (conflicts with .-1)
Diffstat (limited to 'seq.c')
-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;