[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken sysvinit?



On Fri, Jun 23, 2000 at 10:44:14AM -0300, Henrique M Holschuh wrote:
> On Fri, 23 Jun 2000, Petr Cech wrote:
> > On Fri, Jun 23, 2000 at 10:13:17AM -0300 , Henrique M Holschuh wrote:
> > > It works here.  Up-to-date woody, i386 + kernel 2.2.17pre4, 
> > > /bin/sh -> /bin/bash.
> > 
> > hmm. so it's the sh -> ash. Hmm. So it's bashism or a bug in ash.

> (On a related note, does anyone know what are the advantages of such an exec
> over ( ... ) </etc/fstab ?)

Since () executes the code in a subshell, changes to variables are local
to the subshell. The changes are lost when the subshell terminates.


Rainer

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB



Reply to: