diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-12 21:00:12 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-12 21:00:12 +0200 |
commit | 53f5bdfd06cce8093de005b8d706b752d3567cfa (patch) | |
tree | b4cf65096642c5e88dc002fa3d1af9c4f37b5465 /sys/src/cmd/cwfs/con.c | |
parent | 55959acbdf97f3cb82a10370dd165cc061b2155c (diff) |
cwfs: set whochan for who command, cleanup
Diffstat (limited to 'sys/src/cmd/cwfs/con.c')
-rw-r--r-- | sys/src/cmd/cwfs/con.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/src/cmd/cwfs/con.c b/sys/src/cmd/cwfs/con.c index 41fe43142..11fcadf8d 100644 --- a/sys/src/cmd/cwfs/con.c +++ b/sys/src/cmd/cwfs/con.c @@ -342,11 +342,8 @@ cmd_hangup(int argc, char *argv[]) print("that chan is hung up\n"); continue; } - if(cp->chan == n) { - /* need more than just fileinit with tcp */ - chanhangup(cp, "console command", 1); - fileinit(cp); - } + if(cp->chan == n) + chanhangup(cp, "console command"); } } |