Make exec failure not kill init or switch_root.
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 20 Feb 2009 17:24:26 +0000 (09:24 -0800)
committerDave Jones <davej@redhat.com>
Mon, 23 Feb 2009 18:22:01 +0000 (13:22 -0500)
commit9cead591ad8fa7de856d4dc3777bb7c155a6d3b8
tree86daccce071c7e02ed0d37a5da4ea1c081367ba3
parent3f9c86ab865dfb8b33eb746729133c685c916b68
Make exec failure not kill init or switch_root.

If exec fails, then the shell will die unless the next command
is part of a command list. So, exec $whatever || onoes is the way to go

There are also some minor cleanups that were leftovers from splitting
out switch_root in its current form.
init
switch_root