Bug#588306: live-initramfs: Unreachable code in do_netmount
Package: live-initramfs
Version: 1.236.2-1
Severity: normal
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu maverick
do_netmount is called in exactly one place:
if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ]
then
if do_netmount
That function then contains code guarded by this conditional:
if [ -z "${NETBOOT}" ] && [ -z "${FETCH}" ] && \
[ -z "${HTTPFS}" ] && [ -z "${FTPFS}" ]
then
That code can therefore never be called. When is it supposed to be run?
--
Colin Watson [cjwatson@ubuntu.com]
Reply to: