diff --git a/restore.go b/restore.go index 244030d6c..7de15242a 100644 --- a/restore.go +++ b/restore.go @@ -118,7 +118,7 @@ using the runc checkpoint command.`, }, } -func restoreContainer(context *cli.Context, spec *specs.Spec, config *configs.Config, imagePath string) (code int, err error) { +func restoreContainer(context *cli.Context, spec *specs.Spec, config *configs.Config, imagePath string) (int, error) { var ( rootuid = 0 rootgid = 0