viced-shutdown-avoid-deadlock-20030424
[openafs.git] / src / viced / viced.c
index fc5370f..c3a3783 100644 (file)
@@ -589,7 +589,7 @@ void ShutDownAndCore(int dopanic)
     }
 #endif
     DFlush();
-    PrintCounters();
+    if (!dopanic) PrintCounters();
 
     /* do not allows new reqests to be served from now on, all new requests
        are returned with an error code of RX_RESTARTING ( transient failure ) */