]> sourceware.org Git - lvm2.git/commitdiff
And be consistent with return code as well (previous commit).
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 30 Apr 2010 13:47:11 +0000 (13:47 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 30 Apr 2010 13:47:11 +0000 (13:47 +0000)
tools/lvmcmdline.c

index 8fc568062516443aa34d13ea2eb2a28cce4cabd7..033ef74df321e055a04d4ab083a087eaf6d90fc0 100644 (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;
This page took 0.040392 seconds and 5 git commands to generate.