Skip to content

Commit

Permalink
Add exit code when invalid video is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jan 10, 2025
1 parent 446a42d commit 64c306b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/check-documentation-videos-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ for file in ./docs/img/**; do
echo "ffmpeg -i $file -c:v libx264 -c:a copy ${file%.*}_avc1.${file##*.}"
echo "rm $file"
echo "mv $output_file $file"
exit 1;
fi
done

0 comments on commit 64c306b

Please sign in to comment.