hush: pass $! thru re-execution; try harder on re-exec; give error
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 5 Apr 2009 10:39:03 +0000 (10:39 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 5 Apr 2009 10:39:03 +0000 (10:39 -0000)
commit46f9b6db80e4fd0a1c50d435bc387ad28d12abb2
tree99bf6bc0b7db612cfac96ae5d4ac4b653d3b3a3e
parent232be3e79b97eceae617fe8af020d23b49e01de1
hush: pass $! thru re-execution; try harder on re-exec; give error
 msg if re-exec didn't work; other tweaks in main()

function                                             old     new   delta
hush_main                                           1144    1199     +55
re_execute_shell                                     237     286     +49
file_get                                             240     260     +20
clean_up_after_re_execute                             58      66      +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 132/0)             Total: 132 bytes
shell/hush.c