]> sourceware.org Git - lvm2.git/commitdiff
lvchange: fix missing return value
authorDavid Teigland <teigland@redhat.com>
Wed, 5 Apr 2017 15:08:01 +0000 (10:08 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 5 Apr 2017 15:08:01 +0000 (10:08 -0500)
A return value from lvchange_persistent_cmd() was missed
in commit 1c41898c07ad750820fb39770355fded8e9b030a

tools/lvchange.c

index 60a37a9bec742e4366a5d3e6f780d81e5e15efbc..1778b528df9bdcf0c59d3c9dcefaecd871ae6555 100644 (file)
@@ -1618,6 +1618,8 @@ int lvchange_persistent_cmd(struct cmd_context *cmd, int argc, char **argv)
        } else if (arg_is_set(cmd, monitor_ARG) || arg_is_set(cmd, poll_ARG)) {
                ret = lvchange_monitor_poll_cmd(cmd, argc, argv);
        }
+
+       return ret;
 }
 
 int lvchange(struct cmd_context *cmd, int argc, char **argv)
This page took 0.043322 seconds and 5 git commands to generate.