dracut
dracut copied to clipboard
Document shell testing
yeah.. positiv testing is preferred here
[[ $is_crypt == "crypt" ]] || continue
as it catches the error case here.
$? is zero for the following commands
or
if [[ $is_crypt != "crypt" ]]; then
continue
fi
Originally posted by @haraldh in https://github.com/dracutdevs/dracut/pull/1203#discussion_r602367571
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.