When running in a jail or other environment where where init (ie:
process 1) is not running, shutdown should call the reboot/halt commands.
In a jail environment these are often replaced by custom scripts which
handle restarting the jail.
Currently it is possible to call shutdown with the '-o' flag.
This patch adds adds a fallback if the kill() call fails. The patch also
displays an error message if the kill() call fails for some other reason.
Fix: Patch attached with submission follows:
Handle with mentor
Give back into the pool until later.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped