From f1d313dfd6d812b02dd4b3b2841b3ea10a65a755 Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Thu, 21 Feb 2019 13:40:22 +0100 Subject: [PATCH] minor fix --- rstudio-server/files/tomcat_checkandstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rstudio-server/files/tomcat_checkandstart b/rstudio-server/files/tomcat_checkandstart index 14f92b0b..5b67208d 100644 --- a/rstudio-server/files/tomcat_checkandstart +++ b/rstudio-server/files/tomcat_checkandstart @@ -1,11 +1,11 @@ #!/bin/bash -ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)" +ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)" if (( $ISTOMCATRUNNING == 0 )) then sleep 60 - ISTOMCATRUNNING=="$(ps -fu gcube | grep -v grep | grep -c java)" + ISTOMCATRUNNING="$(ps -fu gcube | grep -v grep | grep -c java)" fi if (( $ISTOMCATRUNNING == 0 ))