diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-10 23:22:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-10 23:22:05 +0000 |
commit | 21301f73549aa63885352c5d33eadf82484c4bf7 (patch) | |
tree | 237affd556bb957b95eebf7bba47cc1d6cf3f88e /spool.c | |
parent | c48517e8d3cc4e8abc200d7d5dffc340fc4f01c7 (diff) |
Diffstat (limited to 'spool.c')
-rw-r--r-- | spool.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,9 @@ /* + * Copyright (c) 2008-2014, Simon Schubert <2@0x2c.org>. * Copyright (c) 2008 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project - * by Simon 'corecode' Schubert <corecode@fs.ei.tum.de>. + * by Simon Schubert <2@0x2c.org>. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -289,7 +290,7 @@ load_queue(struct queue *queue) spooldir = opendir(config.spooldir); if (spooldir == NULL) - err(1, "reading queue"); + err(EX_NOINPUT, "reading queue"); while ((de = readdir(spooldir)) != NULL) { queuefn = NULL; |