mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-05 00:42:54 +00:00
fix reversed equals error
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -85,7 +85,7 @@ func systemInitCmd(ctx context.Context, args []string) {
|
||||
|
||||
// look for containerd options
|
||||
ctrdArgs := []string{}
|
||||
if b, err := ioutil.ReadFile(containerdOptsFile); err != nil {
|
||||
if b, err := ioutil.ReadFile(containerdOptsFile); err == nil {
|
||||
ctrdArgs = strings.Fields(string(b))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user