summaryrefslogtreecommitdiff
path: root/debian/patches/ubuntu/ubuntu-default-error-policy-retry-job.patch
blob: 583045466a3728cb353e3340bba2583ba08ee7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Set default job error policy to "Retry", since it is less confusing and a better default on desktop machines. This patch is only applied when building on Ubuntu.
Author: Martin Pitt <martin.pitt@ubuntu.com>

Index: cups-1.4.6/scheduler/conf.c
===================================================================
--- cups-1.4.6.orig/scheduler/conf.c	2011-07-14 13:03:03.479773075 +0200
+++ cups-1.4.6/scheduler/conf.c	2011-07-14 13:03:08.829773167 +0200
@@ -653,7 +653,7 @@
   cupsdClearString(&BrowseLocalOptions);
   cupsdClearString(&BrowseRemoteOptions);
 
-  cupsdSetString(&ErrorPolicy, "stop-printer");
+  cupsdSetString(&ErrorPolicy, "retry-job");
 
 #ifdef HAVE_LDAP
   cupsdClearString(&BrowseLDAPBindDN);