diff --git a/cmd/k3s/main.go b/cmd/k3s/main.go index 919778f5a6..ea615b7114 100644 --- a/cmd/k3s/main.go +++ b/cmd/k3s/main.go @@ -114,7 +114,7 @@ func extract(dataDir string) (string, error) { asset, dir = getAssetAndDir(dataDir) if _, err := os.Stat(dir); err == nil { logrus.Debugf("Asset dir %s", dir) - return "", nil + return dir, nil } logrus.Infof("Preparing data dir %s", dir)