mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +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
@ -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…
Reference in New Issue
Block a user