ifupdown: if $PATH is not set, do not set it to "" in children
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 5 Jun 2009 19:53:11 +0000 (21:53 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 5 Jun 2009 19:53:11 +0000 (21:53 +0200)
commit62152da892e9445beaed60a461cf63721f52eff4
tree0c855c54a0b1b35d0c43b3af7419c4ca6577a230
parent035b4d77dc8e45862600d911aaade5e40d7bdee4
ifupdown: if $PATH is not set, do not set it to "" in children

Also random code shrink:

function                                             old     new   delta
set_environ                                          328     330      +2
static.label_buf                                       4       -      -4
startup_PATH                                           4       -      -4
my_environ                                             4       -      -4
ifupdown_main                                       2148    2134     -14
setlocalenv                                          117      90     -27
get_var                                              139     112     -27
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 1/3 up/down: 2/-80)             Total: -78 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifupdown.c