Found a solution to circumvent this problem and now my monitor script reads:
#!/bin/sh system=`since /var/log/*.log | sed '/nothing new/ d' | sed '/message repeated/ d' | sed '/==>/ d' ` test "$system" != "" && echo $system >> /home/user/.all.log tail -n 10 /home/user/.all.log test $(stat -c "%s" /home/user/.all.log) -gt 1000000 && echo "Log file exceeded maximum size" > /home/user/.all.log
Anyhow, this is clearly not the desired behavior for the screenlet.
Found a solution to circumvent this problem and now my monitor script reads:
#!/bin/sh .all.log) -gt 1000000 && echo "Log file exceeded maximum size" > /home/user/.all.log
system=`since /var/log/*.log | sed '/nothing new/ d' | sed '/message repeated/ d' | sed '/==>/ d' `
test "$system" != "" && echo $system >> /home/user/.all.log
tail -n 10 /home/user/.all.log
test $(stat -c "%s" /home/user/
Anyhow, this is clearly not the desired behavior for the screenlet.