mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #22930 from jfindlay/localegen_bool
localemod.gen_locale now always returns a boolean
This commit is contained in:
commit
b7de7bdf47
1 changed files with 1 additions and 1 deletions
|
@ -274,4 +274,4 @@ def gen_locale(locale):
|
|||
cmd.append('--generate')
|
||||
cmd.append(locale)
|
||||
|
||||
return __salt__['cmd.retcode'](cmd, python_shell=False)
|
||||
return __salt__['cmd.retcode'](cmd, python_shell=False) == 0
|
||||
|
|
Loading…
Add table
Reference in a new issue