Skip to content

Commit 3c9cdc5

Browse files
author
Zhou Hao
committed
runtimetest: fix error return
Signed-off-by: Zhou Hao <[email protected]>
1 parent e2ffaf1 commit 3c9cdc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/runtimetest/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ func loadSpecConfig(path string) (spec *rspec.Spec, err error) {
7070
if os.IsNotExist(err) {
7171
return nil, fmt.Errorf("%s not found", specConfig)
7272
}
73+
74+
return nil, err
7375
}
7476
defer cf.Close()
7577

0 commit comments

Comments
 (0)