summaryrefslogtreecommitdiff
path: root/lib/drb/unix.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-19 18:30:18 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-19 18:30:18 +0000
commit6591e380169e85e7764150e3a93722ca990ee05d (patch)
tree0bde2c4e556f097c722acb105260e716918190fb /lib/drb/unix.rb
parent44b6b031bac42734d567b3adfefcaa80011fb039 (diff)
merged from ruby_1_8 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb/unix.rb')
-rw-r--r--lib/drb/unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/unix.rb b/lib/drb/unix.rb
index 989ec57eed5..57feed8301a 100644
--- a/lib/drb/unix.rb
+++ b/lib/drb/unix.rb
@@ -88,7 +88,7 @@ module DRb
public
def close
return unless @socket
- path = @socket.path
+ path = @socket.path if @server_mode
@socket.close
File.unlink(path) if @server_mode
@socket = nil