From 091dcddcb38374e0785b08e8a0d0aaa54e62daba Mon Sep 17 00:00:00 2001 From: Justin Emter Date: Sun, 17 Sep 2017 13:23:41 -0700 Subject: [PATCH] Fixed the conditional. --- multi-channel-bash-scripts/generate-channels-daily-schedules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi-channel-bash-scripts/generate-channels-daily-schedules.sh b/multi-channel-bash-scripts/generate-channels-daily-schedules.sh index 69c4f63..b3717cb 100644 --- a/multi-channel-bash-scripts/generate-channels-daily-schedules.sh +++ b/multi-channel-bash-scripts/generate-channels-daily-schedules.sh @@ -49,7 +49,7 @@ if [ "${#CHANNEL_DIR_ARR[@]}" -gt 1 ]; then do # If the .pid file exists for this channel, skip it because it will update while running. - if [ ! -f "$channel/running.pid" ] + if [ ! -f "$channel/running.pid" ]; then echo "+++++ Trying to generate daily schedule: ""$PYTHON_TO_USE" ./"$channel"/$SCRIPT_TO_EXECUTE_PLUS_ARGS