aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/ssh')
-rw-r--r--robot/resources/ssh/processes.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/resources/ssh/processes.robot b/robot/resources/ssh/processes.robot
index 44d82c86..8574f137 100644
--- a/robot/resources/ssh/processes.robot
+++ b/robot/resources/ssh/processes.robot
@@ -59,7 +59,7 @@ Is Process on Host
:FOR ${pid} IN @{pids}
\ ${process_cmd}= Get From Dictionary ${map} ${pid}
\ ${status} ${value}= Run Keyword And Ignore Error Should Match Regexp ${process_cmd} ${process_name}
- \ Run Keyword If '${status}' == 'PASS' Set Test Variable ${foundpid} ${pid}
+ \ ${foundpid}= Set Variable If '${status}' == 'PASS' ${pid} ""
Should Not Be Equal ${foundpid} ""
[Return] ${map}[${foundpid}]