summaryrefslogtreecommitdiff
path: root/lib/rfc/grabrfc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-06-02 04:59:02 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-06-02 04:59:02 +0200
commitb099f734b6af48a6f5e8b8cefb9fe75bc0d0cdaf (patch)
tree8fc355cc7e0786339978e3de79b55e9795e9d6c0 /lib/rfc/grabrfc
parent55da96c60e185b7f3abf528c4032990a497c11e6 (diff)
downloadplan9front-b099f734b6af48a6f5e8b8cefb9fe75bc0d0cdaf.tar.xz
grabrfc: fix null list in concatination when no $dom, just use $sysname
Diffstat (limited to 'lib/rfc/grabrfc')
-rwxr-xr-xlib/rfc/grabrfc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rfc/grabrfc b/lib/rfc/grabrfc
index 32611c323..c1fb48971 100755
--- a/lib/rfc/grabrfc
+++ b/lib/rfc/grabrfc
@@ -3,7 +3,9 @@
rfork en
path=(/bin)
fn cd
+
dom=`{ndb/query sys $sysname dom}
+if(~ $dom '') dom=$sysname
ramfs
ftpfs -q/ -a $user@$dom ftp.rfc-editor.org # was ftp.isi.edu