Skip to content

Commit 7bf4ec2

Browse files
committed
fix(gnokii): remove redundant LANG=C
LC_ALL=C is already specified inside _parse_help, so we do not need to specify LANG=C at the caller side.
1 parent 86f9134 commit 7bf4ec2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

completions/gnokii

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ _comp_cmd_gnokii()
221221
esac
222222
fi
223223

224-
# safer to use LANG=C
225-
local all_cmd="$(LANG=C _parse_help "$1" "--help all")"
224+
local all_cmd="$(_parse_help "$1" "--help all")"
226225
# these 2 below are allowed in combination with others
227226
local main_cmd=$(command grep -v -- '--config\|--phone' <<<"$all_cmd")
228227

0 commit comments

Comments
 (0)