A user on #ubuntu reported failure of debootstrap to fetch the Release file; hanging whilst trying to deal with an InRelease file that doesn't exist when using ssh:// protocol.
This seems to be due to a problem in functions::just_get() for both ssh:// and file:// protocols where the 'get' is assumed to have succeeded and hard-codes a "return 0".
I think these should be returning the exit code of the scp and cp commands respectively.
A user on #ubuntu reported failure of debootstrap to fetch the Release file; hanging whilst trying to deal with an InRelease file that doesn't exist when using ssh:// protocol.
This seems to be due to a problem in functions: :just_get( ) for both ssh:// and file:// protocols where the 'get' is assumed to have succeeded and hard-codes a "return 0".
I think these should be returning the exit code of the scp and cp commands respectively.
Suggested patch attached