]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
import: fix an always-true assert()
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 18 Apr 2026 17:22:40 +0000 (19:22 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 22 May 2026 12:32:04 +0000 (13:32 +0100)
(cherry picked from commit 6182d0c66654594c65c680bc0e486d8bbcb359f5)

src/import/pull-tar.c

index f4a8bfca6227678e12117584c12065e039072801..b04218a69a692598236255e6d00284937836d09f 100644 (file)
@@ -443,7 +443,7 @@ static void tar_pull_job_on_finished(PullJob *j) {
                 else if (j == p->settings_job)
                         log_info_errno(j->error, "Settings file could not be retrieved, proceeding without.");
                 else
-                        assert("unexpected job");
+                        assert_not_reached();
         }
 
         /* This is invoked if either the download completed successfully, or the download was skipped because