Merge pull request #22930 from jfindlay/localegen_bool

localemod.gen_locale now always returns a boolean
This commit is contained in:
Mike Place 2015-04-22 09:37:39 -06:00
commit b7de7bdf47

View File

@ -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