Subject: ./usr/sbin/laptop_mode: line 657: [: missing `]' when battery does not
report a capacity
Package: laptop-mode-tools
Version: 1.48-1
Severity: important
Tags: patch
*** Please type your report below this line ***
On my macbook sometimes the battery capacity reports
$ cat
tags 528835 +pending
thanks
Hi Yves,
On Saturday 16 May 2009 04:28:39 Yves Fischer wrote:
Note error in line 657:
if [ -z $CAPACITY -o $CAPACITY -eq 0] ; then
change to (add space):
if [ -z $CAPACITY -o $CAPACITY -eq 0 ] ; then
helps.
Thank you for the patch. I've
2 matches
Mail list logo