]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: do not use "derror", when we cannot find dracut-functions
authorHarald Hoyer <harald@redhat.com>
Wed, 23 Feb 2011 12:32:31 +0000 (13:32 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 23 Feb 2011 12:32:31 +0000 (13:32 +0100)
dracut

diff --git a/dracut b/dracut
index 85884f7ad18acd4c072e2b353a21fddd4f661f29..6e6de1e2771b40d7cbf02afca160d96319b12aaf 100755 (executable)
--- 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