$NetBSD: patch-aj,v 1.3 2002/09/14 02:46:57 rh Exp $

--- gsm/manager.c.orig	Sun Mar 17 09:48:39 2002
+++ gsm/manager.c
@@ -330,7 +330,7 @@ run_command (Client* client, const gchar
 	g_free (restart_info);
 
 #if 0
-      if (errno)
+      if (pid < 0)
 	{
 	  if (strcmp (command, SmRestartCommand) || client->connection)
 	    {
