mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-21 21:17:00 +01:00
IMP(shellcheck): use $@ insetad of $* (SC2048)
This commit is contained in:
parent
db27cfc39c
commit
2ab1bd50dc
@ -100,11 +100,11 @@ has_file_correct_permissions() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
does_pattern_exist_in_file_nocase() {
|
does_pattern_exist_in_file_nocase() {
|
||||||
_does_pattern_exist_in_file "-Ei" $*
|
_does_pattern_exist_in_file "-Ei" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
does_pattern_exist_in_file() {
|
does_pattern_exist_in_file() {
|
||||||
_does_pattern_exist_in_file "-E" $*
|
_does_pattern_exist_in_file "-E" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
_does_pattern_exist_in_file() {
|
_does_pattern_exist_in_file() {
|
||||||
|
Loading…
Reference in New Issue
Block a user