tazpanel rev 96

Fix log (forgor date var)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 14 20:13:49 2011 +0200 (2011-04-14)
parents 3f39825387bb
children 3eb6d92c32f1
files lib/libtazpanel
line diff
     1.1 --- a/lib/libtazpanel	Thu Apr 14 20:08:15 2011 +0200
     1.2 +++ b/lib/libtazpanel	Thu Apr 14 20:13:49 2011 +0200
     1.3 @@ -45,6 +45,7 @@
     1.4  
     1.5  # LOG activities
     1.6  log() {
     1.7 +	date=$(date "+%Y-%m-%d %H:%M")
     1.8  	grep ^[a-zA-Z0-9] | sed s'/\.*\]//' | \
     1.9  	sed s"#[^']*#$date : \0#" >> $LOG_FILE
    1.10  }