Browse Source

dracut-functions: use "type" to determine the need of sourcing dracut-logger

master
Harald Hoyer 14 years ago
parent
commit
d6d53f60b2
  1. 2
      dracut-functions

2
dracut-functions

@ -20,7 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #


if [[ ! $__DRACUT_LOGGER__ ]]; then if ! type dinfo >/dev/null 2>&1; then
. "$dracutbasedir/dracut-logger" . "$dracutbasedir/dracut-logger"
dlog_init dlog_init
fi fi

Loading…
Cancel
Save