dracut icon indicating copy to clipboard operation
dracut copied to clipboard

Document shell testing

Open haraldh opened this issue 4 years ago • 1 comments

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

haraldh avatar Mar 26 '21 15:03 haraldh

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.

stale[bot] avatar Apr 25 '21 17:04 stale[bot]