Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17089 - [lm_sensors] "/usr/sbin/healthd: line 20: return: can only `return' from a function or source"

Attached to Project: Arch Linux
Opened by Sebastian (sepo) - Tuesday, 10 November 2009, 15:31 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 November 2009, 05:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Running "healthd --help" will flood the console with the following error:
"/usr/sbin/healthd: line 20: return: can only `return' from a function or sourced script"

The problem is, that there is a return statement instead of an shift statement. Later in the code there is a return statement again, instead of an exit statement.

Take a look at the attached diff.

Additional info:
lm_sensors v3.1.1-2

Steps to reproduce:

healthd --help
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 21 November 2009, 05:11 GMT
Reason for closing:  Fixed

Loading...