From 5a125598c1900a4d621b52088b82182f87a0dc20 Mon Sep 17 00:00:00 2001 From: Vitor Trovisco <vmt25@cam.ac.uk> Date: Fri, 5 Aug 2022 13:28:55 +0000 Subject: [PATCH] Update canto_running_log.sh --- canto_running_log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canto_running_log.sh b/canto_running_log.sh index 5516a6f..44f637c 100755 --- a/canto_running_log.sh +++ b/canto_running_log.sh @@ -12,7 +12,7 @@ LOGS="logs" LOGFILE="${CANTOSPACE}/${LOGS}/canto_server_running.log" #this line retrieves the canto container id -DOCKERNAME=$(docker ps -a --filter status=running --filter name=^/canto$) +DOCKERNAME=$(docker ps -a --filter status=running --filter name=^/canto$ { print $1 }) if [[ ! -z "${DOCKERNAME}" ]]; then echo "Canto running on container ${DOCKERNAME} - see canto_server_running.log for the log messages" -- GitLab