From 8f15276cdbdbea47e542099cf76038a52298a79f Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 7 Apr 2024 04:33:35 +0200 Subject: [PATCH] main: do not require an offset to be specified with -I --- src/cyanrip_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cyanrip_main.c b/src/cyanrip_main.c index 0357762..a95b4da 100644 --- a/src/cyanrip_main.c +++ b/src/cyanrip_main.c @@ -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;