Skip to content

Commit

Permalink
fix(dracut-init.sh): correct dracut-install source path
Browse files Browse the repository at this point in the history
  • Loading branch information
aafeijoo-suse authored and johannbg committed Aug 12, 2022
1 parent 5eb996a commit 72b700e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dracut-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ fi

if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then
DRACUT_INSTALL=$dracutbasedir/dracut-install
elif ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then
DRACUT_INSTALL=$dracutbasedir/install/dracut-install
elif ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/src/install/dracut-install ]]; then
DRACUT_INSTALL=$dracutbasedir/src/install/dracut-install
fi

# Test if dracut-install is a standalone executable with no options.
Expand Down

0 comments on commit 72b700e

Please sign in to comment.