]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
import: fix an always-true assert() 41712/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 18 Apr 2026 17:22:40 +0000 (19:22 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 19 Apr 2026 12:06:30 +0000 (14:06 +0200)
src/import/pull-tar.c

index a235c2fba3dd68045e11cba9159b0e728931cec5..fe18636eb7d9d9f68de544df305c075b890d4efc 100644 (file)
@@ -445,7 +445,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