diff options
author | Fredrik Gustafsson <[email protected]> | 2013-04-15 11:57:59 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-04-15 11:57:59 +0200 |
commit | efbf57358b8afca275545a627713bcf14969e243 (patch) | |
tree | 6fc8087ac679d2d545b63b1f2de9fb303e65f3e1 /lib/kernel/src/file_server.erl | |
parent | 057c411456f6e60cd1fcf0acd1a226381f43cea8 (diff) | |
parent | 8e236f7c5a0c6383e5f604a781e68b1685127e15 (diff) | |
download | otp-efbf57358b8afca275545a627713bcf14969e243.tar.gz otp-efbf57358b8afca275545a627713bcf14969e243.tar.bz2 otp-efbf57358b8afca275545a627713bcf14969e243.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/kernel/src/file_server.erl')
-rw-r--r-- | lib/kernel/src/file_server.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kernel/src/file_server.erl b/lib/kernel/src/file_server.erl index 49ec6f96cc..d036dbb516 100644 --- a/lib/kernel/src/file_server.erl +++ b/lib/kernel/src/file_server.erl @@ -317,8 +317,7 @@ do_start_slave(start, Filer, Name) -> SlaveMonitor = erlang:monitor(process, Slave), receive {started, Token} -> - erlang:demonitor(SlaveMonitor), - receive {'DOWN', SlaveMonitor, _, _, _} -> ok after 0 -> ok end, + erlang:demonitor(SlaveMonitor, [flush]), {ok, Slave}; {'DOWN', SlaveMonitor, _, _, Reason} -> exit(Reason) |