Skip to content

Commit

Permalink
return error if unknown ext found
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdaGastan committed Oct 19, 2023
1 parent 65c5b9c commit 28b25de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/flist/flist.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ func (f *flistModule) mountRO(url, storage string) (string, error) {
sublog.Info().Strs("args", args).Msg("starting rfs daemon")
args = append([]string{"mount"}, append(args, mountpoint)...)
cmd = f.commander.Command("rfs", args...)
} else {
return "", errors.Errorf("unknown extension: '%s'", flistExt)
}

var out []byte
Expand Down

0 comments on commit 28b25de

Please sign in to comment.