Log when a shutdown is initiated by someone pressing ctrl-C (or sending

the process the same signal another way).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3263 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2004-12-06 22:11:57 +00:00
parent ecd8e2e8b6
commit 7b3750c19c
@@ -1,5 +1,5 @@
//
// $Id: PresentsServer.java,v 1.42 2004/08/27 02:20:23 mdb Exp $
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -168,6 +168,7 @@ public class PresentsServer
public boolean signalReceived (int signo)
{
// this is called when we receive a ctrl-c
Log.info("Shutdown initiated by received signal (" + signo + ")");
queueShutdown();
return true;
}