On Saturday, 11 August 2007 21:08, Alon Bar-Lev wrote:
> 
> Hello,
> 
> Current implementation does not cleanup console settings if abort was
> selected by user.
> This should fix it.

I prefer the appended patch.

Greetings,
Rafael


---
 suspend.c |    1 +
 1 file changed, 1 insertion(+)

Index: suspend/suspend.c
===================================================================
--- suspend.orig/suspend.c
+++ suspend/suspend.c
@@ -498,6 +498,7 @@ static int save_image(struct swap_map_ha
                                        case ABORT_KEY_CODE:
                                                if (abort_possible) {
                                                        printf(" aborted!\n");
+                                                       
splash.restore_abort(&savedtrm);
                                                        return -EINTR;
                                                }
                                        break;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to