# HG changeset patch # User Christophe Lincoln # Date 1399063831 -7200 # Node ID e7a2fc7045604b0db0ea911213070e540ea1aebc # Parent 912becb63cb68247fcc2cb53a41af1f8e1556f47 piboot: fix moving old log file diff -r 912becb63cb6 -r e7a2fc704560 rpi/piboot --- a/rpi/piboot Fri May 02 22:49:16 2014 +0200 +++ b/rpi/piboot Fri May 02 22:50:31 2014 +0200 @@ -12,7 +12,7 @@ # Check for depends ... LOG=/var/log/$(basename $0).log -mv -f $LOG $LOG.0 /dev/null +mv -f $LOG $LOG.0 >/dev/null while read file pkg ; do [ "$(which $file)" ] && continue echo "Can't find $file. Please install $pkg." >> $LOG