File suspend-0.80-dont-return-eintr-on-abort.diff of Package suspend.501

Index: b/suspend.c
===================================================================
--- a/suspend.c
+++ b/suspend.c
@@ -1261,6 +1261,11 @@ Shutdown:
 
 Unfreeze:
 	unfreeze(snapshot_fd);
+	/* ugly hack, because "user aborted suspend" is not really
+	 * an error.
+	 */
+	if (error == EINTR)
+		return 0;
 	return error;
 }