diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c index b55eda7955..dfe6df3bf3 100644 --- a/src/portable/portablectl.c +++ b/src/portable/portablectl.c @@ -142,7 +142,7 @@ static int extract_prefix(const char *path, char **ret) { else { const char *e; - e = endswith(bn, ".raw"); + e = ENDSWITH_SET(bn, ".raw.v", ".raw", ".v"); if (!e) e = strchr(bn, 0);