From 7364fcbae6984f03673dbfcf27188c2354128782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Sabat=C3=A9=20Sol=C3=A0?= Date: Wed, 19 Oct 2016 15:40:02 +0200 Subject: [PATCH] portusctl: polishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- packaging/suse/portusctl/spec/registry_spec.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/suse/portusctl/spec/registry_spec.rb b/packaging/suse/portusctl/spec/registry_spec.rb index 00801031f..e59ab3c66 100644 --- a/packaging/suse/portusctl/spec/registry_spec.rb +++ b/packaging/suse/portusctl/spec/registry_spec.rb @@ -23,11 +23,7 @@ def installed_error? class Runner def self.safe_exec_test(_cmd, _args = []) - if ENV["TEST_EXIT_STATUS"] - false - else - true - end + ENV["TEST_EXIT_STATUS"].nil? end end