Skip to content

Commit

Permalink
Misnamed parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Kalin <akalin@martinisoftware.com>
  • Loading branch information
martinisoft committed Apr 19, 2019
1 parent a74ad86 commit 6dde0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In addition to the command to run there are other options that can be set to cha
Run a command as the `www` user with no extra ENV settings from `/tmp` with a 1s timeout

```ruby
cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp', :timeout => 1)
cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :environment => nil, :cwd => '/tmp', :timeout => 1)
cmd.run_command # etc.
```

Expand Down

0 comments on commit 6dde0b1

Please sign in to comment.