diff --git a/src/core/main.c b/src/core/main.c index 4668d6bc84a..bcc5e15a789 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -2744,7 +2744,7 @@ static bool early_skip_setup_check(int argc, char *argv[]) { for (int i = 1; i < argc; i++) if (streq(argv[i], "--switched-root")) return false; /* If we switched root, don't skip the setup. */ - else if (streq(argv[i], "--deserialize")) + else if (startswith(argv[i], "--deserialize")) found_deserialize = true; return found_deserialize; /* When we are deserializing, then we are reexecuting, hence avoid the extensive setup */