Skip to content

Commit

Permalink
Merge pull request #3679 from syedriko/umask_cli_correction
Browse files Browse the repository at this point in the history
Make the default umask a string
  • Loading branch information
ashie authored Mar 18, 2022
2 parents 2036c4a + 9f46a19 commit 6927305
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/fluent/command/fluentd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
opts[:chgroup] = s
}

opts[:chumask] = 0
op.on('--umask UMASK', "change umask") {|s|
opts[:chumask] = s
}
Expand Down
1 change: 1 addition & 0 deletions lib/fluent/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ def self.default_options
setup_path: nil,
chuser: nil,
chgroup: nil,
chumask: "0",
root_dir: nil,
suppress_interval: 0,
suppress_repeated_stacktrace: true,
Expand Down

0 comments on commit 6927305

Please sign in to comment.