[lxc-devel] [distrobuilder/master] shared: Fix args of RunCommandSplit
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Fri Aug 23 17:28:13 UTC 2019
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/20190823/c491862e/attachment.bin>
-------------- next part --------------
From bb5d7cca13494eb37aeba05181db02aa0594c98a Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 23 Aug 2019 19:27:36 +0200
Subject: [PATCH] shared: Fix args of RunCommandSplit
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
shared/util.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shared/util.go b/shared/util.go
index 6a49d6f..a6b9695 100644
--- a/shared/util.go
+++ b/shared/util.go
@@ -152,7 +152,7 @@ func recvGPGKeys(gpgDir string, keyserver string, keys []string) (bool, error) {
args = append(args, append([]string{"--recv-keys"}, fingerprints...)...)
- _, out, err := lxd.RunCommandSplit(nil, "gpg", args...)
+ _, out, err := lxd.RunCommandSplit("gpg", args...)
if err != nil {
return false, err
}
More information about the lxc-devel
mailing list