]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/main.c
Merge from branch-2-1
[netatalk.git] / etc / afpd / main.c
index 85b5147fceaea4e52f35930130ca21d605179335..32d44d95614f4fa91d17d9e1ef546f5395180a19 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: main.c,v 1.26 2009-10-14 02:24:05 didg Exp $
- *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
@@ -104,7 +102,7 @@ static void afp_goaway(int sig)
     switch( sig ) {
 
     case SIGTERM :
-        LOG(log_info, logtype_afpd, "shutting down on signal %d", sig );
+        LOG(log_note, logtype_afpd, "AFP Server shutting down on SIGTERM");
         AFPConfig *config;
         for (config = configs; config; config = config->next)
             if (config->server_cleanup)
@@ -149,9 +147,9 @@ int main(int ac, char **av)
     set_auth_parameters( ac, av );
 #endif /* TRU64 */
 
-#ifdef DEBUG1
+    /* Log SIGBUS/SIGSEGV SBT */
     fault_setup(NULL);
-#endif
+
     afp_options_init(&default_options);
     if (!afp_options_parse(ac, av, &default_options))
         exit(EXITERR_CONF);