diff --git a/tasks/ccop.rb b/tasks/ccop.rb
index <HASH>..<HASH> 100644
--- a/tasks/ccop.rb
+++ b/tasks/ccop.rb
@@ -23,7 +23,9 @@ task :ccop do
   file_list.each do |file|
     corrected = "#{file}_corrected"
     begin
-      system("indent #{file} -o #{corrected}")
+      result = `indent #{file} -o #{corrected}`
+      break unless result
+
       if FileUtils.compare_file(file, corrected)
         print(green('.'))
       else
Backticks wait for the system command to finish?