mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
dracut: do not use "derror", when we cannot find dracut-functions
This commit is contained in:
parent
41f90cbe50
commit
6f590cd1c5
6
dracut
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user