From: Harald Hoyer Date: Wed, 23 Feb 2011 12:32:31 +0000 (+0100) Subject: dracut: do not use "derror", when we cannot find dracut-functions X-Git-Tag: 009~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f590cd1c59643dbb5cc7638b2d2a87a54b55bef;p=thirdparty%2Fdracut.git dracut: do not use "derror", when we cannot find dracut-functions --- diff --git a/dracut b/dracut index 85884f7ad..6e6de1e27 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