mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue