SOURCES: go7007-hotplug.patch (NEW) - a patch for the hotplug

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Tue Aug 30 08:02:17 CEST 2005


Patrys :: Patryk Zawadzki wrote:
> Dnia 30-08-2005, wto o godzinie 01:37 +0200, Jakub Piotr C=B3apa
> napisa=B3(a):
> > Patrys :: Patryk Zawadzki wrote:
> > > Here it looks like pure cosmetics (no execution prior to testing $?) bu=
> t
> > > it is more convenient to save it so if one adds one more instruction in
> > > the conditional block it continues to work.
> > That's what I though (but OTOH I changed it after getting a syslog=20
> > message that the loading failed with code 0).
> >=20
> > The comparison ([) is not changing $? because it is builtin?
> > And what if a standalone version of [ was used?
> 
> Well I believe it depends on the shell used. Or maybe on the ammount of
> coffee I am lacking at the moment.

The script is executed using /bin/sh. Our /bin/sh support built-in [.

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry at mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology



More information about the pld-devel-en mailing list