From 291d0a57533314d98da9dc8aec312d2471ee75b0 Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Thu, 28 Jul 2016 19:26:55 -0400 Subject: [PATCH] Fix error with devel install from erroneuous Rubocop fix --- .travis.yml | 1 + lib/forklift/installer.rb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 866bafb42..db500b764 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,4 @@ sudo: false language: ruby rvm: - "2.0.0" + - "2.2.0" diff --git a/lib/forklift/installer.rb b/lib/forklift/installer.rb index 77475f7bb..a8f3bd414 100644 --- a/lib/forklift/installer.rb +++ b/lib/forklift/installer.rb @@ -96,7 +96,9 @@ def run_installer(command) def syscall(command) system(command) - $CHILD_STATUS.zero? + + # rubocop:disable SpecialGlobalVars + $?.success? end def foreman_root