success on the sun

This commit is contained in:
rsc 2005-01-07 08:02:54 +00:00
parent c345061e8d
commit 005a85f3a2
3 changed files with 24 additions and 1 deletions

View file

@ -10,6 +10,7 @@ post9pservice(int fd, char *name)
if((ns = getns()) == nil)
return -1;
s = smprint("unix!%s/%s", ns, name);
free(ns);
if(s == nil)
@ -27,6 +28,8 @@ post9pservice(int fd, char *name)
_exits("exec");
default:
w = wait();
if(w == nil)
return -1;
close(fd);
free(s);
if(w->msg && w->msg[0]){