aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-19 02:41:46 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-04-19 02:41:46 +0200
commit4b1089bb29e597a193d432d4aa43e1590d1dc6cb (patch)
treecab71b02e0fd4cfe095474eedc2fb1ab6aaf2c17 /SBO-Lib/lib/SBO
parent34687e66248fbda44ae061ada8590c451de20fc9 (diff)
downloadsbotools2-4b1089bb29e597a193d432d4aa43e1590d1dc6cb.tar.xz
SBO::Lib::git_sbo_tree(): Remove redundant statement
Diffstat (limited to 'SBO-Lib/lib/SBO')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm1
1 files changed, 0 insertions, 1 deletions
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;