about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2022-04-28 17:08:10 -0700
committerBart Schaefer <schaefer@zsh.org>2022-04-28 17:08:10 -0700
commit007c7df74a3cf80a3ac3fd07e588be3848193a4e (patch)
treeea75369c1b3974d8a3d09d46b6d3e0db43938c81 /Src
parent0ccc3c149413921fbf5c00696bf350333927eb64 (diff)
downloadzsh-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.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;