Skip to content

Commit

Permalink
Update bbb-record
Browse files Browse the repository at this point in the history
  • Loading branch information
ffdixon authored May 23, 2020
1 parent e986cc9 commit bcf2b83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bigbluebutton-config/bin/bbb-record
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ if [ $DEBUG ]; then
# Additional checks for record and playback
#
rm -rf /tmp/t
if ls /var/log/bigbluebutton/slides-process-* > /dev/null 2>1; then
if ls /var/log/bigbluebutton/slides-process-* > /dev/null 2>&1; then
sudo grep -i Error /var/log/bigbluebutton/slides-process-* > /tmp/t
if [ -s /tmp/t ]; then
echo " -- Ingest and Processing errors found in /var/log/bigbluebutton/slides-process-*.log -- "
Expand All @@ -822,7 +822,7 @@ if [ $DEBUG ]; then
fi

rm -rf /tmp/t
if ls /var/log/bigbluebutton/slides-publish-* > /dev/null 2>1; then
if ls /var/log/bigbluebutton/slides-publish-* > /dev/null 2>&1; then
sudo grep -i Error /var/log/bigbluebutton/slides-publish-* > /tmp/t
if [ -s /tmp/t ]; then
echo " -- Ingest and Processing errors found in /var/log/bigbluebutton/slides-publish-*.log -- "
Expand All @@ -832,7 +832,7 @@ if [ $DEBUG ]; then
fi

rm -rf /tmp/t
if ls /var/log/bigbluebutton/slides-process-* > /dev/null 2>1; then
if ls /var/log/bigbluebutton/slides-process-* > /dev/null 2>&1; then
for file in /var/log/bigbluebutton/slides-process-*; do
if [ ! -f $(echo $file | sed 's/process/publish/g') ]; then
echo " $file" >> /tmp/t
Expand All @@ -848,7 +848,7 @@ if [ $DEBUG ]; then


rm -rf /tmp/t
if ls /var/bigbluebutton/recording/status/recorded/*.done > /dev/null 2>1; then
if ls /var/bigbluebutton/recording/status/recorded/*.done > /dev/null 2>&1; then
for file in /var/bigbluebutton/recording/status/recorded/*.done; do
if [ ! -f $(echo $file | sed 's/recorded/archived/g') ]; then
echo " $file" >> /tmp/t
Expand Down

0 comments on commit bcf2b83

Please sign in to comment.