]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
consider loop detected to be success 5170/head
authorreddevillg <reddevillg@gmail.com>
Fri, 10 Nov 2017 03:12:16 +0000 (11:12 +0800)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2017 03:12:16 +0000 (11:12 +0800)
if return 0, load_ppds won't continue to search other files in current directory.

scheduler/cups-driverd.cxx

index d063ba59076973d952d3782b0332d13b467fb16e..1c5b26533068680c0beaae9e5727bd431daa978c 100644 (file)
@@ -2400,7 +2400,7 @@ load_ppds(const char *d,          /* I - Actual directory */
   {
     fprintf(stderr, "ERROR: [cups-driverd] Skipping \"%s\": loop detected!\n",
             d);
-    return (0);
+    return (1);
   }
 
  /*