commit 4b1089bb29e597a193d432d4aa43e1590d1dc6cb
parent 34687e66248fbda44ae061ada8590c451de20fc9
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Tue, 19 Apr 2016 02:41:46 +0200
SBO::Lib::git_sbo_tree(): Remove redundant statement
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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;