Skip to content

Commit

Permalink
Fix rootfs_source
Browse files Browse the repository at this point in the history
  • Loading branch information
Moe-hacker committed Nov 22, 2024
1 parent 55c57c9 commit 5b118dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ruri.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static void parse_args(int argc, char **_Nonnull argv, struct RURI_CONTAINER *_N
container->extra_mountpoint[i] = NULL;
container->extra_mountpoint[i + 1] = NULL;
if (container->rootfs_source == NULL) {
container->rootfs_source = realpath(argv[index] - 1, NULL);
container->rootfs_source = realpath(argv[index] - 2, NULL);
} else {
ruri_error("{red}You can only mount one source to / QwQ\n");
}
Expand Down

0 comments on commit 5b118dc

Please sign in to comment.