From 6f590cd1c59643dbb5cc7638b2d2a87a54b55bef Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 23 Feb 2011 13:32:31 +0100 Subject: [PATCH] dracut: do not use "derror", when we cannot find dracut-functions --- dracut | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dracut b/dracut index 85884f7a..6e6de1e2 100755 --- a/dracut +++ b/dracut @@ -215,9 +215,9 @@ fw_dir=${fw_dir//:/ } if [[ -f $dracutbasedir/dracut-functions ]]; then . $dracutbasedir/dracut-functions else - derror "Cannot find $dracutbasedir/dracut-functions." - derror "Are you running from a git checkout?" - derror "Try passing -l as an argument to $0" + echo "Cannot find $dracutbasedir/dracut-functions." >&2 + echo "Are you running from a git checkout?" >&2 + echo "Try passing -l as an argument to $0" >&2 exit 1 fi