diff --git a/internal/filelist/osksdl/osksdl.go b/internal/filelist/osksdl/osksdl.go index ce93ef0..4d993db 100644 --- a/internal/filelist/osksdl/osksdl.go +++ b/internal/filelist/osksdl/osksdl.go @@ -27,12 +27,12 @@ func New(mesaDriverName string) *OskSdl { // Get a list of files and their dependencies related to supporting rootfs full // disk (d)encryption func (s *OskSdl) List() (*filelist.FileList, error) { - if !misc.Exists("/usr/bin/osk-sdl") { - return nil, nil - } - log.Println("- Including osk-sdl support") - files := filelist.NewFileList() + if !misc.Exists("/usr/bin/osk-sdl") { + return files, nil + } + + log.Println("- Including osk-sdl support") confFiles := []string{ "/etc/osk.conf",