From 38eb8acac6333b42803f8bf103ea75583e4e3550 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 1 Oct 2020 02:21:58 -0500 Subject: [PATCH] Fix if condition. --- tools/test-jibri-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-jibri-env.sh b/tools/test-jibri-env.sh index a53f4c4..577a927 100644 --- a/tools/test-jibri-env.sh +++ b/tools/test-jibri-env.sh @@ -100,7 +100,7 @@ elif [ ! -f $CONF_JSON ] && \ [ -f ${JIBRI_CONF}-dpkg-file ]; then echo -e "\n> This jibri seems to be running the lastest configuration already.\n\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ https://github.com/switnet-ltd/quick-jibri-installer/issues\n" -elif [ -f ${CONF_JSON}_disabled ] && \ +elif [ -f ${CONF_JSON} ] && \ [ -f $JIBRI_CONF ]; then echo -e "\n> This jibri config seems to be candidate for upgrading.\nIf you think there maybe an error on checking you current jibri configuration.\nPlease report this to \ https://github.com/switnet-ltd/quick-jibri-installer/issues\n"