Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airmon-ng.linux: fix shellcheck error SC2045 at lines 500-503 #2562

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wileyhy
Copy link
Contributor

@wileyhy wileyhy commented Jul 30, 2023

In many ways the same changes as those in PR #2559.

line 500, remove explanatory comment
line 501, remove "shellcheck disable"
move line 502 > 500, change unquoted command substitution with ls command to a glob expression on the same directory path. line 503 > 500, Move the "type" directory name up one line. line 501, Add a test [ for the existence of such a directory ( "$i" ). line 503 > 501, Change the argument to the cat command. lines 502 & 503, Add two parameter expansions of "$i". Keep the total line count the same as is was.

line 500, remove explanatory comment
line 501, remove "shellcheck disable"
move line 502 > 500, change unquoted command substitution with `ls` command to a glob expression on the same directory path.
line 503 > 500, Move the "type" directory name up one line.
line 501, Add a test [ for the existence of such a directory ( "$i" ).
line 503 > 501, Change the argument to the cat command.
lines 502 & 503, Add two parameter expansions of "$i".
Keep the total line count the same as is was.
@wileyhy wileyhy changed the title airmon-ng.linux: fix shellcheck error SC2045 at lines 261-264 airmon-ng.linux: fix shellcheck error SC2045 at lines 500-503 Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant