summaryrefslogtreecommitdiff
path: root/Src/Modules/system.c
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-05-08 05:47:08 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-05-08 05:47:08 +0200
commit9529af723604dfe1c8152db11e1d216621c898d5 (patch)
treea512727d6ea897041fca8a6b09f7d5ddd753d7f1 /Src/Modules/system.c
parentb09f4483416c54c1782824633dfabaf2ec0265b6 (diff)
parent32100208ecc26f8b70a0dbef6298bfd2b823d8d0 (diff)
downloadzsh-9529af723604dfe1c8152db11e1d216621c898d5.tar.gz
zsh-9529af723604dfe1c8152db11e1d216621c898d5.zip
New upstream version 5.8.1.3-test
Diffstat (limited to 'Src/Modules/system.c')
-rw-r--r--Src/Modules/system.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Src/Modules/system.c b/Src/Modules/system.c
index 71745548f..ea11ef037 100644
--- a/Src/Modules/system.c
+++ b/Src/Modules/system.c
@@ -83,10 +83,6 @@ bin_sysread(char *nam, char **args, Options ops, UNUSED(int func))
/* -o: output file descriptor, else store in REPLY */
if (OPT_ISSET(ops, 'o')) {
- if (*args) {
- zwarnnam(nam, "no argument allowed with -o");
- return 1;
- }
outfd = getposint(OPT_ARG(ops, 'o'), nam);
if (outfd < 0)
return 1;