From: Frantisek Sumsal Date: Sat, 18 Apr 2026 17:22:40 +0000 (+0200) Subject: import: fix an always-true assert() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6182d0c66654594c65c680bc0e486d8bbcb359f5;p=thirdparty%2Fsystemd.git import: fix an always-true assert() --- diff --git a/src/import/pull-tar.c b/src/import/pull-tar.c index a235c2fba3d..fe18636eb7d 100644 --- a/src/import/pull-tar.c +++ b/src/import/pull-tar.c @@ -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