[lxc-devel] [lxc/master] utils: make keyring allocation failure non-fatal

brauner on Github lxc-bot at linuxcontainers.org
Mon Nov 19 02:27:52 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181119/328cc57e/attachment.bin>
-------------- next part --------------
From 6af699fc0e4e88fb3927b9623f8a721a55ca9eea Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Mon, 19 Nov 2018 03:26:58 +0100
Subject: [PATCH] utils: make keyring allocation failure non-fatal

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 src/lxc/utils.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lxc/utils.c b/src/lxc/utils.c
index 2f864e3a7..ef71b6df7 100644
--- a/src/lxc/utils.c
+++ b/src/lxc/utils.c
@@ -1807,7 +1807,6 @@ int lxc_setup_keyring(void)
 			break;
 		default:
 			SYSERROR("Failed to create kernel keyring");
-			ret = -1;
 			break;
 		}
 	}


More information about the lxc-devel mailing list