summaryrefslogtreecommitdiffstats
path: root/robot/resources/ssh/processes.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/ssh/processes.robot')
-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}]