Hi,

Digging through the suspend2 users mailing list, I found the attached
patch that appears to fix the problem, at least for me.

The mailing list post :
http://lists.suspend2.net/lurker/message/20070119.214512.0746fd1c.en.html

Cheers,

Alexandre
--- old-suspend2-userui-0.6.4/userui_core.c	2007-02-13 21:29:21.000000000 +0100
+++ new-suspend2-userui-0.6.4/userui_core.c	2007-02-13 21:29:21.000000000 +0100
@@ -473,7 +473,7 @@
 static void sig_hand(int sig) {
 	restore_console();
 
-	printf("userui: Ack! SIG %d\n", *(int*)sig);
+        printf("userui: Ack! SIG %d\n", sig);
 
 	if (test_run)
 		exit(1);
@@ -773,6 +773,7 @@
 				break;
 			case USERUI_MSG_CLEANUP:
 				userui_ops->cleanup();
+                                send_message(USERUI_MSG_CLEANUP, NULL, 0);
 				close(nlsock);
 				exit(0);
 			case USERUI_MSG_REDRAW:

Reply via email to