From a7b30a349b6388b2eed6a735d3248eeba5198baa Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 12 Dec 2022 21:21:22 +0000 Subject: [PATCH] rc: use /fd/0 for standard-input instead of '#d/0' in non-interactive mode --- rc/lib/rcmain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/lib/rcmain b/rc/lib/rcmain index 1716908fe..0278d7f68 100644 --- a/rc/lib/rcmain +++ b/rc/lib/rcmain @@ -32,7 +32,7 @@ if not if(flag i){ if(! ~ $#* 0) . $* . -i /fd/0 } -if not if(~ $#* 0) . '#d/0' +if not if(~ $#* 0) . /fd/0 if not{ status='' . $*