[oe-issues] [Bug 1582] un-initialised variables in if statement make script error
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Wed Feb 7 19:55:45 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=1582
cliff.brake at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cliff.brake at gmail.com
------- Comment #13 from cliff.brake at gmail.com 2007-02-07 11:55 -------
the divide by zero error seems to be a typo in /etc/init.d/rc
if [ $(($num_steps + $first_step)) -lt 1 ]; then
numsteps="1"
first_step="0"
fi
Should be:
if [ $(($num_steps + $first_step)) -lt 1 ]; then
num_steps="1"
first_step="0"
fi
This seems to fix the divide by zero issue. I've pushed a fix. I'm not sure
if these resolves all issues, so I'm leaving the bug open.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list