diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-20 10:39:07 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-20 10:39:07 -0800 |
commit | 8cdd87b19f9b2431189fbd661ede7dc6ac421d51 (patch) | |
tree | 30555551f787c50c0b6af7e3808f1903c403a4bb /.travis.yml | |
parent | d454fdd7304101f0bce60070343ca51aa513d91b (diff) | |
download | chef-8cdd87b19f9b2431189fbd661ede7dc6ac421d51.tar.gz |
Fail if we can't modify the sudoers file
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3eeab89a6e..1c8724b44f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_script: - echo --color > .rspec - echo -fp >> .rspec # necessary for sudo: true tests, ingore failures on tests invoked with sudo: false - - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers || true + - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers # do not run expensive spec tests on PRs, only on branches branches: |