Open kamil4 opened 2 years ago
I believe I spotted a bug in version 1.74 in /usr/share/laptop-mode-tools/modules/ethernet.
/usr/share/laptop-mode-tools/modules/ethernet
https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L36
https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L64
Lines 36 and 64 reference DEVICE, which should not be available outside the loop that only starts in line 104?
DEVICE
https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L104
Thank you!
I believe I spotted a bug in version 1.74 in
/usr/share/laptop-mode-tools/modules/ethernet
.https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L36
https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L64
Lines 36 and 64 reference
DEVICE
, which should not be available outside the loop that only starts in line 104?https://github.com/rickysarraf/laptop-mode-tools/blob/9839bd2a1d761f8fe476fa91aee2cc7909d4aa59/usr/share/laptop-mode-tools/modules/ethernet#L104
Thank you!