[BusyBox] Picking nits in init.

Rob Landley rob at landley.net
Sat May 29 04:20:40 UTC 2004


Okay, this bit:

-----
static const char * const environment[] = {
    "HOME=/",
    "PATH=" _PATH_STDPATH,
    "SHELL=/bin/sh",
    "USER=root",
    NULL
};
-----

If you're going to go to all the trouble to use _PATH_STDPATH, shouldn't you 
also use _PATH_BSHELL for the shell?

I realise it doesn't make any actual _difference_, I just thought I'd ask... 
:)

Rob

P.S.  I resisted the urge to make the subject "init picking", but didn't 
resist the urge to append this PS.  So there.

-- 
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas.  (I'm the con chair.)





More information about the busybox mailing list