Skip to content

Commit 864530f

Browse files
committed
spec: drop dead code
Signed-off-by: Erik Sjölund <[email protected]>
1 parent 2687bf4 commit 864530f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/spec.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,5 @@ crun_command_spec (struct crun_global_arguments *global_args, int argc, char **a
127127
if (f == NULL)
128128
return libcrun_make_error (err, errno, "cannot open `%s`", where);
129129

130-
ret = libcrun_container_spec (! spec_options.rootless, f, err);
131-
132-
return ret >= 0 ? 0 : ret;
130+
return libcrun_container_spec (! spec_options.rootless, f, err);
133131
}

0 commit comments

Comments
 (0)