mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Merge pull request #38305 from dereckson/fix-mode-extraneous-normalization
Avoid normalization call for normalized mode value
This commit is contained in:
commit
1e4f299e7d
@ -509,7 +509,7 @@ def file(name,
|
||||
Overrides the default backup mode for the user's crontab.
|
||||
'''
|
||||
# Initial set up
|
||||
mode = salt.utils.normalize_mode('0600')
|
||||
mode = '0600'
|
||||
owner, group, crontab_dir = _get_cron_info()
|
||||
|
||||
cron_path = salt.utils.mkstemp()
|
||||
|
Loading…
Reference in New Issue
Block a user