Skip to content

Commit

Permalink
allow remote evalfile to return a value. fixes #5648
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Feb 2, 2014
1 parent c88a989 commit 2320f42
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ function include_from_node1(path::String)
result = Core.include(path)
nprocs()>1 && sleep(0.005)
else
include_string(remotecall_fetch(1, readall, path), path)
# don't bother sending last value for remote include
result = nothing
result = include_string(remotecall_fetch(1, readall, path), path)
end
finally
if prev == nothing
Expand Down

0 comments on commit 2320f42

Please sign in to comment.