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

Fix ls error when there are no events to be animated

parent 9ba52741
...@@ -626,7 +626,7 @@ elif [ "$SAMPLE" = "false" ]; then ...@@ -626,7 +626,7 @@ elif [ "$SAMPLE" = "false" ]; then
# Remove event counter file # Remove event counter file
rm -f event_counter.txt rm -f event_counter.txt
if [[ $N_OF_EVENTS = 0 ]]; then if ! $(ls | grep -q "${UNIQUEID}"); then
timestamp "${UNIQUEID}, JOB FINISHED" >> $PROGRESS_LOG timestamp "${UNIQUEID}, JOB FINISHED" >> $PROGRESS_LOG
exit exit
else 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