diff options
author | Bart Schaefer <schaefer@zsh.org> | 2022-04-28 17:08:10 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2022-04-28 17:08:10 -0700 |
commit | 007c7df74a3cf80a3ac3fd07e588be3848193a4e (patch) | |
tree | ea75369c1b3974d8a3d09d46b6d3e0db43938c81 /Src | |
parent | 0ccc3c149413921fbf5c00696bf350333927eb64 (diff) | |
download | zsh-007c7df74a3cf80a3ac3fd07e588be3848193a4e.tar.gz zsh-007c7df74a3cf80a3ac3fd07e588be3848193a4e.tar.xz zsh-007c7df74a3cf80a3ac3fd07e588be3848193a4e.zip |
50101: sysread -o with param adjusted to match documentation
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/system.c | 4 |
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; |