[thin-metadata-size] -V was exiting with 1

This commit is contained in:
Joe Thornber 2017-09-19 11:29:35 +01:00
parent 3790f2e79c
commit 313716028e

View File

@ -215,7 +215,7 @@ static void help(struct global *g)
static void version(struct global *g) static void version(struct global *g)
{ {
printf("%s\n", THIN_PROVISIONING_TOOLS_VERSION); printf("%s\n", THIN_PROVISIONING_TOOLS_VERSION);
exit_prg(g, 1); exit_prg(g, 0);
} }
static void check_unit(struct global *g, char *arg) static void check_unit(struct global *g, char *arg)