[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfire-scm
Subject:    [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 91588cb42a2322a8aebd176ec59d1b
From:       Arne Fitzenreiter <git () ipfire ! org>
Date:       2021-12-22 23:24:32
Message-ID: 4JK8YF1cJSz2xZ0 () people01 ! haj ! ipfire ! org
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  91588cb42a2322a8aebd176ec59d1b18e8bbbd9b (commit)
      from  68b57610898d586668b586e4a73db0cec98763f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 91588cb42a2322a8aebd176ec59d1b18e8bbbd9b
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Wed Dec 22 16:07:26 2021 +0000

    installer: Ignore umount errors when target doesn't exist
    
    Some paths might not exist on some systems which caused the installer to
    abort the installation. This patch makes the installer ignore this
    condition.
    
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
    Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 src/installer/hw.c | 5 +++++
 1 file changed, 5 insertions(+)

Difference in files:
diff --git a/src/installer/hw.c b/src/installer/hw.c
index 265df2d8c..b532bb16e 100644
--- a/src/installer/hw.c
+++ b/src/installer/hw.c
@@ -188,6 +188,11 @@ int hw_umount(const char* source, const char* prefix) {
 			case EINVAL:
 				r = 0;
 				break;
+
+			// target doesn't exist
+			case ENOENT:
+				r = 0;
+				break;
 		}
 	}
 


hooks/post-receive
--
IPFire 2.x development tree
_______________________________________________
IPFire-SCM mailing list
IPFire-SCM@lists.ipfire.org
https://lists.ipfire.org/mailman/listinfo/ipfire-scm
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic