]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/main.c
Merge pull request #5621 from zdohnal/cgigetarray-sigsegv
[thirdparty/cups.git] / scheduler / main.c
index 842b00a42d2e890ca737ec85cd668a80499103f8..d5fdf971a8acee0ac51bf9e5f353828c4ae3f2bc 100644 (file)
@@ -757,7 +757,9 @@ main(int  argc,                             /* I - Number of command-line args */
 #ifdef HAVE_ONDEMAND
        if (OnDemand)
        {
+#  ifndef HAVE_SYSTEMD /* Issue #5640: systemd doesn't actually support launch-on-demand services, need to fake it */
          stop_scheduler = 1;
+#  endif /* HAVE_SYSTEMD */
          break;
        }
 #endif /* HAVE_ONDEMAND */