Add 'die()' for easier error handling
authorPhilippe Seewer <philippe.seewer@bfh.ch>
Tue, 16 Jun 2009 12:39:35 +0000 (14:39 +0200)
committerPhilippe Seewer <philippe.seewer@bfh.ch>
Wed, 17 Jun 2009 06:37:40 +0000 (08:37 +0200)
commit311a2769a03d86b0278d566d40f719f980b192ae
treef4b120f4c6195beb5b3bc054adfca0d4a3820ee9
parent580bb5417c7f6e09fd046ed2d92aeec519373624
Add 'die()' for easier error handling

Printing out an errormessage and quitting is easier if there's a function
to call. If the script calling die has exit trapped, like in init, the
emergency_shell is automatically called.
modules.d/99base/dracut-lib
modules.d/99base/init