#!/bin/bash
cat debug.txt /home/minetest/.minetest/debug.txt | grep -e "WARNING\|ERROR" | awk '!n[$0]++' > debug.txt