From 4b1089bb29e597a193d432d4aa43e1590d1dc6cb Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 19 Apr 2016 02:41:46 +0200 Subject: SBO::Lib::git_sbo_tree(): Remove redundant statement --- SBO-Lib/lib/SBO/Lib.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'SBO-Lib/lib') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 50cb96b..a79caab 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -333,7 +333,6 @@ sub git_sbo_tree { chdir $config{SBO_HOME}; remove_tree($repo_path) if -d $repo_path; $res = system(qw/ git clone /, $url, $repo_path) == 0; - return 1 if chdir $cwd and $res; } return 1 if chdir $cwd and $res; return 0; -- cgit v1.2.3