1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

And be consistent with return code as well (previous commit).

This commit is contained in:
Peter Rajnoha 2010-04-30 13:47:11 +00:00
parent 5ff4274f9b
commit c7fe469700

View File

@ -1366,7 +1366,7 @@ int lvm2_main(int argc, char **argv)
/* "version" command is simple enough so it doesn't need any complex init */
if (!alias && argc > 1 && !strcmp(argv[1], "version"))
return version(NULL, argc, argv);
return lvm_return_code(version(NULL, argc, argv));
if (!(cmd = init_lvm()))
return -1;