Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178781
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Heim (RETIRED) <phreak@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mike Arthur <mike@mikearthur.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178781 depends on: Show dependency tree
Bug 178781 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-16 15:18 0000
Bashisms in /etc/init.d/lm_sensors cause 

Line 26 of /etc/init.d/lm_sensors
if [ ${?} == 0 ]; then
should be
if [ ${?} = 0 ]; then

Line 59 of /etc/init.d/lm_sensors
i=$((i+1))
should be
i=$((${i}+1))

------- Comment #1 From Christian Heim (RETIRED) 2007-05-17 07:30:07 0000 -------
Thanks Mike, I've fixed them locally and I'm going to commit them in a minute.

------- Comment #2 From Mike Arthur 2007-05-17 22:54:40 0000 -------
Woops, noticed another.

Line 92 of /etc/init.d/lm_sensors
i=$((i-1))
should be
i=$(($i-1))

------- Comment #3 From Christian Heim (RETIRED) 2007-05-18 07:51:34 0000 -------
(In reply to comment #2)
> Woops, noticed another.
> 
> Line 92 of /etc/init.d/lm_sensors
> i=$((i-1))
> should be
> i=$(($i-1))

'k, fixed the remaining ones too.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug