Fixed copy and paste error

pull/10/head
Thorsten Sick 3 years ago
parent 279b7e59a3
commit 47873ba430

@ -39,7 +39,7 @@ class SensorPlugin(BasePlugin):
""" Install the sensor. Executed on the target. Take the sensor from the share and (maybe) copy it to its destination. Do some setup """ Install the sensor. Executed on the target. Take the sensor from the share and (maybe) copy it to its destination. Do some setup
""" """
raise True return True
def start(self, disown=None): def start(self, disown=None):
""" Start the sensor. The connection to the client is disowned here. = Sent to background. This keeps the process running. """ Start the sensor. The connection to the client is disowned here. = Sent to background. This keeps the process running.
@ -47,12 +47,12 @@ class SensorPlugin(BasePlugin):
@param disown: Send async into background @param disown: Send async into background
""" """
raise True return True
def stop(self): def stop(self):
""" Stop the sensor """ """ Stop the sensor """
raise True return True
def __call_collect__(self, machine_path): def __call_collect__(self, machine_path):
""" Generate the data collect command """ Generate the data collect command

Loading…
Cancel
Save