Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Daily Images Fail to Install

From: Frans Pop <elendil(at)planet.nl>
Date: Thu Nov 29 2007 - 04:06:53 EST


On Thursday 29 November 2007, Martin Michlmayr wrote:
> * Frans Pop <elendil@planet.nl> [2007-11-29 09:19]:
> > > Anyway, I found the real cause: if the machine is not Netwinder, the
> > > script does an "exit 0" - but we're being sourced rather than run, so
> > > this obviously has to be "return 0". This also explains why I didn't
> > > see the problem when I tested on a Netwinder. I'll upload a fix.
> >
> > I doubt return 0 works better when sourcing.
>
> Are you sure? It seems to work for me...

/me reads up on sourcing in bash manpage You could be right. I thought sourcing meant that anything in the file effectively became part of the current script, but it talks about "read and execute", so it could be more like calling a function.

-- 
To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Nov 29 04:07:16 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:34:30 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library