On Mon, June 25, 2007 5:37 am, Frederick Heckel wrote:
> Package: acpi-support
> Version: 0.95-2
> Severity: normal
>
> in power.sh, the lines:
>
> for x in /proc/acpi/ac_adapter/*; do
>
>       if [ -f "$x" ]; then...
>
> But $x is a directory in this case, and is even used correctly as a
> directory in the lines following. Since -f checks for a normal file, it
> always evaluates false.

Nice catch, thanks! We'll fix this in the next upload.

Cheers,
Bart

Reply via email to