aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-08-29 16:13:37 +0100
committerLouise Crow <louise.crow@gmail.com>2012-08-29 16:13:37 +0100
commit6f390226d06fc713c96df7c40c6a9cc441ee932c (patch)
treeab56828479040ffffd831bbe3352629c78ab8b2e /lib
parent0d2d562253a94d17153686821ae818e9b12fbe26 (diff)
Raise an error on a non-zero return code from the git pull command.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/themes.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake
index f86490500..3fb9eef19 100644
--- a/lib/tasks/themes.rake
+++ b/lib/tasks/themes.rake
@@ -35,6 +35,7 @@ namespace :themes do
rm_rf %w(.git .gitignore)
else
rm_rf install_path
+ raise "#{base_cmd} failed! Stopping."
end
end
end