[Server-devel] ds-backup.sh on desktop hardware

2010-01-28 Thread Dave Bauer
It looks like line 113 does not work it gets in error when you do not have any battery and the command hal-get-property --udi $B_HAL --key battery.charge_level.percentage returns instead of a numeric value, the help for hal-get-property. I think we need a check for $B_HAL being empty here.

Re: [Server-devel] ds-backup.sh on desktop hardware

2010-01-28 Thread Martin Langhoff
On Thu, Jan 28, 2010 at 9:41 AM, Dave Bauer d...@solutiongrove.com wrote: hal-get-property --udi $B_HAL --key battery.charge_level.percentage returns instead of a numeric value, the help for hal-get-property. I think we need a check for $B_HAL being empty here. Sounds reasonable. Patches