From ac9d55330dae598659743875e0b30a517d3d8ae3 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 7 Nov 2020 10:46:15 +0100 Subject: [PATCH] Fixed a new bug introduced with previous commit --- libisofs/eltorito.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/eltorito.c b/libisofs/eltorito.c index e7337af..7ba3ae9 100644 --- a/libisofs/eltorito.c +++ b/libisofs/eltorito.c @@ -588,7 +588,7 @@ int iso_image_set_boot_image(IsoImage *image, const char *image_path, } parent = (IsoDir*)p; } - if (catname[0] == '/') + if (catname[0] == '/' || catname[0] == 0) catname++; ret = iso_tree_add_boot_node(parent, catname, &cat_node); free(catdir);