Skip to content

Commit

Permalink
cleanup warninglight log from bug output
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Aug 27, 2018
1 parent 251ee4e commit 0e2335d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fixes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ check process 9590 with pidfile /run/9590.pid
git clone https://github.com/Cat5TV/nems-tools
fi

# Clean up log errors from early build of nems-tools
if grep -q "PHP Warning" /var/log/nems/nems-tools/warninglight; then
sed -i~ '/PHP Warning/d' /var/log/nems/nems-tools/warninglight
fi

fi

if (( $(awk 'BEGIN {print ("'$ver'" >= "'1.4.1'")}') )); then
Expand Down

0 comments on commit 0e2335d

Please sign in to comment.