mkinitrd [PATCH] Not resuming is not an error. Return 0 instead of 1.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From 12ed2b1c295422c884d36addfd822af40e959949 Mon Sep 17 00:00:00 2001
From: Warren Togami <wtogami@xxxxxxxxxx>
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.\n");
         close(fd);
-        return 1;
+        return 0;
     }

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

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux