     (doom-refresh-packages-maybe doom-debug-mode)
     (let ((packages (sort (doom-get-outdated-packages) #'doom--sort-alpha)))
       (cond ((not packages)
-             (message! (green "Everything is up-to-date")))
+             (message! (green "Everything is up-to-date"))
+             nil)
 
             ((not (or (getenv "YES")
                       (y-or-n-p

                                            (package-version-join (cl-caddr pkg))))
                                  packages
                                  "\n"))))))
             (message! (yellow "Aborted!")))

            (t
             (dolist (pkg packages)

                                                 "ELPA"))))
                                (sort (cl-copy-list packages) #'doom--sort-alpha)
                                "\n")))))
             (message! (yellow "Aborted!"))
             nil)

            (t
             (doom-refresh-packages-maybe doom-debug-mode)
