   {:docstring "Check projects for outdated artifacts. (default)"
    :exclude [:interactive :print :no-tests]}
   [opts]
-  (utils/call-on-project-files check-file! opts))
+  (exit-with-status
+    (utils/call-on-project-files check-file! opts)))
 
 (utils/deftask profiles
   {:docstring "Check profiles for outdated artifacts."
    :exclude [:no-profiles :interactive :print :no-tests :recursive]
    :fixed {:plugins? true}}
   [opts]
-  (utils/call-on-profiles-files check-file! opts))
+  (exit-with-status
+    (utils/call-on-profiles-files check-file! opts)))

      (if (seq outdated)
        (doseq [artifact outdated]
          (console/print-outdated-message artifact))
        (verbosef "all artifacts are up-to-date.")))))

;; ## Tasks


             [collect :refer :all]
             [console :as console]
             [utils :as utils]
             [verbose :refer :all]]
            [leiningen.core.main :as main]))

;; ## Logic

