From 2277c5d7bbe1f9595fad512d8f790708473a9bf1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 21 Mar 2004 04:33:13 +0000 Subject: Small tweaks Lots of new code imported. --- src/cmd/plumb/plumber.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/plumb') diff --git a/src/cmd/plumb/plumber.c b/src/cmd/plumb/plumber.c index 54c60521..80a57af3 100644 --- a/src/cmd/plumb/plumber.c +++ b/src/cmd/plumb/plumber.c @@ -54,6 +54,8 @@ threadmain(int argc, char *argv[]) error("can't initialize $user or $home: %r"); if(plumbfile == nil){ sprint(buf, "%s/lib/plumbing", home); + if(access(buf, 0) < 0) + sprint(buf, "#9/plumb/initial.plumbing"); plumbfile = estrdup(buf); } -- cgit v1.2.3