2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

compel hgen: --prefix is required

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin
2016-12-08 01:44:32 -08:00
committed by Andrei Vagin
parent ee07e4252e
commit ab7bf8207c

View File

@@ -239,6 +239,10 @@ int main(int argc, char *argv[])
fprintf(stderr, "Error: option --output required\n");
return usage(1);
}
if (!opts.prefix) {
fprintf(stderr, "Error: option --prefix required\n");
return usage(1);
}
compel_log_init(&cli_log, log_level);
return piegen();
}