From 155eeabf3cd49f29fb0783f0e133786198c3ee62 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Tue, 15 Nov 2022 15:59:36 +0000
Subject: [PATCH] fixing incomplete merge

---
 coordinator/ProcessorServer.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/coordinator/ProcessorServer.py b/coordinator/ProcessorServer.py
index d8aad9b..50a68f1 100644
--- a/coordinator/ProcessorServer.py
+++ b/coordinator/ProcessorServer.py
@@ -54,7 +54,8 @@ def process_pre_job_server_download(input_args: dict):
         description_short = 'subprocess_ssh'
         description_long = f"Checking for existence of {file_path}/{file_name}.tar.gz"
 
-        status = subprocess_and_log(cmd_ssh,description_short,description_long,check=False)
+        status = subprocess_and_log(cmd_check_file, description_short, description_long, check = False,
+                                    shell = run_in_shell)
 
         if status.returncode > 0:
 
-- 
GitLab