[Nut-upsdev] [nut-commits] svn commit r1502 - in trunk: . drivers man

Arjen de Korte nut+devel at de-korte.org
Sat Jun 28 20:03:51 UTC 2008


> When running a driver with "-h" or without parameters, the
> upsdrv_cleanup function seems to be called (which caused the warning I
> mention in the ChangeLog). This doesn't seem right.

You're absolutely right. The change you made should be in the
exit_cleanup() function in main.c, not in the megatec.c file. Probably all
drivers will suffer from the same problem.

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsdev mailing list