--- a/print.c
+++ b/print.c
@@ -63,7 +63,11 @@
 		syslog(LOG_ERR, "%s, terminating\n", buf);
 
 	perror(buf);
-	exit(1);
+	if (config.syslog)
+		syslog(LOG_ERR, "Before Exit...\n");
+	exit(EXIT_FAILURE);
+	if (config.syslog)
+		syslog(LOG_ERR, "After Exit...\n");
 }
 
 void
@@ -80,7 +84,11 @@
 		syslog(LOG_NOTICE, "%s, terminating\n", buf);
 
 	(void) fprintf(stderr, "%s, terminating\n", buf);
-	exit(1);
+	if (config.syslog)
+		syslog(LOG_ERR, "Before Exit NNNN...\n");
+	exit(EXIT_FAILURE);
+	if (config.syslog)
+		syslog(LOG_ERR, "After Exit NNNN...\n");
 }
 
 void
