diff options
author | reddevillg <reddevillg@gmail.com> | 2017-11-10 11:12:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 11:12:16 +0800 |
commit | 312370bd750c4c4a4420025d7cfb6b52f7ac6056 (patch) | |
tree | af946f709edd4ed2761d536669201253f4793409 /scheduler/cups-driverd.cxx | |
parent | 3d468ced3d3c1c7d5d7176e6e44827f0c4cddf50 (diff) | |
download | cups-312370bd750c4c4a4420025d7cfb6b52f7ac6056.tar.gz |
consider loop detected to be success
if return 0, load_ppds won't continue to search other files in current directory.
Diffstat (limited to 'scheduler/cups-driverd.cxx')
-rw-r--r-- | scheduler/cups-driverd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx index d063ba590..1c5b26533 100644 --- a/scheduler/cups-driverd.cxx +++ b/scheduler/cups-driverd.cxx @@ -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); } /* |