diff --git a/src/partition/repart.c b/src/partition/repart.c index aa0269e730..3a92d1be1c 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -7578,7 +7578,7 @@ static int run(int argc, char *argv[]) { if (!d) return log_oom(); - r = search_and_access(d, F_OK, arg_root, CONF_PATHS_USR_STRV("systemd/repart/definitions"), &dp); + r = search_and_access(d, F_OK, NULL, CONF_PATHS_USR_STRV("systemd/repart/definitions"), &dp); if (r < 0) return log_error_errno(r, "DDI type '%s' is not defined: %m", arg_make_ddi);