File at-3.1.13-queue-nice-level.patch of Package at.8355

Index: atd.c
===================================================================
--- atd.c.orig
+++ atd.c
@@ -577,11 +577,11 @@ run_file(const char *filename, uid_t uid
 	    perr("Error in I/O redirection");
 
 	close(fd_in);
 	close(fd_out);
 
-	    nice((tolower((int) queue) - 'a' + 1) * 2);
+	    nice((tolower((int) queue) - 'a' ) );
 
 	    if (initgroups(pentry->pw_name, pentry->pw_gid))
 		perr("Cannot initialize the supplementary group access list");
 
 	    if (setgid(ngid) < 0)
openSUSE Build Service is sponsored by