summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-20 10:39:07 -0800
committerTim Smith <tsmith@chef.io>2017-12-20 10:39:07 -0800
commit8cdd87b19f9b2431189fbd661ede7dc6ac421d51 (patch)
tree30555551f787c50c0b6af7e3808f1903c403a4bb /.travis.yml
parentd454fdd7304101f0bce60070343ca51aa513d91b (diff)
downloadchef-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.yml2
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: