Skip to content

Commit

Permalink
Added return to cleanupDataDir
Browse files Browse the repository at this point in the history
  • Loading branch information
derickdiaz committed Dec 16, 2023
1 parent d2751ba commit 57d0ae2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/rke2/rke2_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ import (
"bytes"
"context"
"fmt"
"io/fs"
"io/ioutil"
"net/http"
"os"
"os/exec"
"path/filepath"
"slices"
"strconv"
"strings"
"time"
Expand Down Expand Up @@ -535,6 +538,8 @@ func cleanupDataDir(dataDir string) error {
}
_ := os.RemoveAll(path)
})

return nil
}

func getProcessExecutablePaths() ([]string, error) {
Expand Down

0 comments on commit 57d0ae2

Please sign in to comment.