Skip to content

Commit

Permalink
main: do not require an offset to be specified with -I
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanreg committed Apr 7, 2024
1 parent be23815 commit 8f15276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cyanrip_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ int main(int argc, char **argv)
if (cyanrip_ctx_init(&ctx, &settings))
return 1;

if (!settings.offset && !offset_set &&
if (!settings.offset && !offset_set && !settings.print_info_only &&
!find_drive_offset_range && (ctx->rcap & CDIO_DRIVE_CAP_READ_ISRC)) {
cyanrip_log(ctx, 0, "Offset is unset! To continue with an offset of 0, run with -s 0!\n");
goto end;
Expand Down

0 comments on commit 8f15276

Please sign in to comment.