commit 609309e146b9b7b19ca398f5ce1041e8cd91e4d6 parent 36f49ec40686848c079c2f01b5a7ba53d6d6e6b4 Author: qorg11 <qorg@vxempire.xyz> Date: Sat, 28 Nov 2020 22:31:01 +0100 im an idiot Diffstat:
M | src/cat.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cat.c b/src/cat.c @@ -10,7 +10,7 @@ cat(int fd, const char *filename) { int c; char buf[8192]; - if (filename[0] == '-') + if (filename[0] == '-' && filename[1] != 'u') fd = 0; if(fd != 0)