FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 11-30-2007, 07:12 PM
Warren Togami
 
Default mkinitrd Not resuming is not an error. Return 0 instead of 1.

From 12ed2b1c295422c884d36addfd822af40e959949 Mon Sep 17 00:00:00 2001
From: Warren Togami <wtogami@redhat.com>
Date: Fri, 30 Nov 2007 15:06:55 -0500
Subject: [PATCH] Not resuming is not an error. Return 0 instead of 1.

---
nash/nash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nash/nash.c b/nash/nash.c
index 2996e0e..9190f5f 100644
--- a/nash/nash.c
+++ b/nash/nash.c
@@ -1447,7 +1447,7 @@ resumeCommand(char * cmd, char * end)
if (strncmp(buf, "S1SUSP", 6) && strncmp(buf, "S2SUSP", 6)) {
qprintf("No suspend signature on swap, not resuming.
");
close(fd);
- return 1;
+ return 0;
}

if (fstat(fd, &sb)) {
--
1.5.3.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org