Skip to content

Commit 4e3a27f

Browse files
committed
init/nitro: Reflect archive error already < 0
Signed-off-by: Tyler Fanelli <[email protected]>
1 parent e286b23 commit 4e3a27f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

init/nitro/archive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static int extract(int nsm_fd, struct archive *r, struct archive *w)
168168
return 0;
169169

170170
err:
171-
return -ret;
171+
return ret;
172172
}
173173

174174
/*
434 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)