Commit 09763b0c authored by Breno Rilho Lemos's avatar Breno Rilho Lemos 💬

Fix ls error when there are no events to be animated

parent 9ba52741
......@@ -626,7 +626,7 @@ elif [ "$SAMPLE" = "false" ]; then
# Remove event counter file
rm -f event_counter.txt
if [[ $N_OF_EVENTS = 0 ]]; then
if ! $(ls | grep -q "${UNIQUEID}"); then
timestamp "${UNIQUEID}, JOB FINISHED" >> $PROGRESS_LOG
exit
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment