diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sed.c b/toys/posix/sed.c index 9169e077..2fcd7624 100644 --- a/toys/posix/sed.c +++ b/toys/posix/sed.c @@ -630,7 +630,7 @@ static void do_sed(int fd, char *name) if (i) { struct sedcmd *command; - if (!fd && !strcmp(name, "-")) { + if (!fd) { error_msg("-i on stdin"); return; } |