# HG changeset patch # User Pascal Bellard # Date 1292755299 -3600 # Node ID a9e5e7d1803e19248c7b47481886cf98fb2a37c8 # Parent a395e46e36ed6d26df7dbca4148fa37eae128fa4 tazlito: typo in stat -c diff -r a395e46e36ed -r a9e5e7d1803e tazlito --- a/tazlito Sun Dec 19 11:38:36 2010 +0100 +++ b/tazlito Sun Dec 19 11:41:39 2010 +0100 @@ -251,7 +251,7 @@ status fi if [ -s /etc/tazlito/info ]; then - if [ $(stat -c /etc/tazlito/info) -lt $(( 31 * 1024 )) ]; then + if [ $(stat -c %s /etc/tazlito/info) -lt $(( 31*1024 )) ]; then echo -n "Storing ISO info..." dd if=/etc/tazlito/info bs=1k seek=1 of=$1 \ conv=notrunc 2> /dev/null