summaryrefslogtreecommitdiff
path: root/tools/lvm2cmdline.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2010-01-11 19:19:17 +0000
committerMike Snitzer <snitzer@redhat.com>2010-01-11 19:19:17 +0000
commit94d4a90f276f124f1153fd194d9c508ca60ae3dc (patch)
tree58ae3c72fdeda228126b2812fc5eeb1f6acf165a /tools/lvm2cmdline.h
parentccd6d287eb212d65a0cc0922857b34369d6dc4ad (diff)
downloadlvm2-94d4a90f276f124f1153fd194d9c508ca60ae3dc.tar.gz
Only allow one return from poll_daemon(). If a child polldaemon was
successfully created it must _exit() once it completes. Update _become_daemon() to differentiate between a failed fork() and a successful fork(). Added lvm_return_code() to lvmcmdline.[ch]
Diffstat (limited to 'tools/lvm2cmdline.h')
-rw-r--r--tools/lvm2cmdline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lvm2cmdline.h b/tools/lvm2cmdline.h
index b701de843..150da5434 100644
--- a/tools/lvm2cmdline.h
+++ b/tools/lvm2cmdline.h
@@ -35,6 +35,7 @@ struct cmd_context *init_lvm(void);
void lvm_register_commands(void);
int lvm_split(char *str, int *argc, char **argv, int max);
int lvm_run_command(struct cmd_context *cmd, int argc, char **argv);
+int lvm_return_code(int ret);
int lvm_shell(struct cmd_context *cmd, struct cmdline_context *cmdline);
#endif