summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 20:54:53 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2022-12-12 20:54:53 +0000
commit705440540948df99157848f71c432e3e7034457b (patch)
tree71b958a25d50a874c5ca2a989212b5dda2bfda0c /rc
parent3f8c15b01d2688cbb5b1d6a323b76c890647f228 (diff)
rc: read standard-input from /fd/0 instead of '#d/0'
Diffstat (limited to 'rc')
-rw-r--r--rc/lib/rcmain2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/lib/rcmain b/rc/lib/rcmain
index 7d63edbb4..1716908fe 100644
--- a/rc/lib/rcmain
+++ b/rc/lib/rcmain
@@ -30,7 +30,7 @@ if not if(flag i){
}
status=''
if(! ~ $#* 0) . $*
- . -i '#d/0'
+ . -i /fd/0
}
if not if(~ $#* 0) . '#d/0'
if not{