mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-28 02:25:18 +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
|
if [[ -f $dracutbasedir/dracut-functions ]]; then
|
||||||
. $dracutbasedir/dracut-functions
|
. $dracutbasedir/dracut-functions
|
||||||
else
|
else
|
||||||
derror "Cannot find $dracutbasedir/dracut-functions."
|
echo "Cannot find $dracutbasedir/dracut-functions." >&2
|
||||||
derror "Are you running from a git checkout?"
|
echo "Are you running from a git checkout?" >&2
|
||||||
derror "Try passing -l as an argument to $0"
|
echo "Try passing -l as an argument to $0" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user