Skip to content

refactor(crypt): use function in crypt-cleanup.sh#2432

Open
bdrung wants to merge 1 commit into
dracut-ng:mainfrom
bdrung:busybox-crypt
Open

refactor(crypt): use function in crypt-cleanup.sh#2432
bdrung wants to merge 1 commit into
dracut-ng:mainfrom
bdrung:busybox-crypt

Conversation

@bdrung
Copy link
Copy Markdown
Member

@bdrung bdrung commented May 8, 2026

shellcheck will complain about crypt-cleanup.sh when checking for busybox:

In modules.d/70crypt/crypt-cleanup.sh line 8:
        local do_break="y"
        ^---^ SC2168 (error): 'local' is only valid in functions.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

shellcheck will complain about crypt-cleanup.sh when checking for
busybox:

```
In modules.d/70crypt/crypt-cleanup.sh line 8:
        local do_break="y"
        ^---^ SC2168 (error): 'local' is only valid in functions.
```
@bdrung bdrung requested a review from a team as a code owner May 8, 2026 10:07
@github-actions github-actions Bot added modules Issue tracker for all modules crypt Issues related to the crypt module labels May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crypt Issues related to the crypt module modules Issue tracker for all modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant