Fix malformed BASH command in ComposeDilemmaFilePath
[integration/test.git] / csit / libraries / NexusKeywords.robot
index 4479f50b5741dd8dd8fadc2da0172b05ad0aebe0..5a6ed2c43ab0f0f555a7bde96edb4574cc824d8c 100644 (file)
@@ -110,7 +110,7 @@ Deploy_Test_Tool
 Compose_Dilemma_Filepath
     [Arguments]    ${default_path}    ${specific_path}
     [Documentation]    Query active SSH connection, return specific path if it exists else default path.
-    ${out}    ${rc}=    SSHLibrary.Execute_Command    ls -lA ${specific_path} &2>1    return_rc=True
+    ${out}    ${rc}=    SSHLibrary.Execute_Command    ls -lA ${specific_path} 2>&1    return_rc=True
     BuiltIn.Return_From_Keyword_If    ${rc} == 0    ${specific_path}
     BuiltIn.Return_From_Keyword    ${default_path}