Skip to content

Commit

Permalink
Fixing dangling reference to machine
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Feb 10, 2016
1 parent fd18dd7 commit f3ad3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plumbum/machines/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def popen(self, args = (), **kwargs):
return self.remote.popen(self[args], **kwargs)
def nohup(self, cwd='.', stdout='nohup.out', stderr=None, append=True):
"""Runs a command detached."""
return machine.nohup(self, cwd, stdout, stderr, append)
return self.machine.daemonic_popen(self, cwd, stdout, stderr, append)

class ClosedRemoteMachine(Exception):
pass
Expand Down

0 comments on commit f3ad3fa

Please sign in to comment.