summaryrefslogtreecommitdiff
path: root/tools/vgcfgrestore.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-02-11 21:00:35 +0000
committerAlasdair Kergon <agk@redhat.com>2002-02-11 21:00:35 +0000
commit6fda126dd700f6ef7fef71283c12b23c7a06a1d2 (patch)
tree40d5d09f230eceea5199d5964e7abe86eb83117a /tools/vgcfgrestore.c
parent60274aba6ec2c6a6a0e1e2656d97a574b79f5775 (diff)
downloadlvm2-6fda126dd700f6ef7fef71283c12b23c7a06a1d2.tar.gz
Run through indent - no (intentional) changes to any code.
Diffstat (limited to 'tools/vgcfgrestore.c')
-rw-r--r--tools/vgcfgrestore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/vgcfgrestore.c b/tools/vgcfgrestore.c
index 0a0322343..8e0050a96 100644
--- a/tools/vgcfgrestore.c
+++ b/tools/vgcfgrestore.c
@@ -17,16 +17,16 @@ int vgcfgrestore(struct cmd_context *cmd, int argc, char **argv)
* FIXME: overloading the -l arg for now to display a
* list of archive files for a particular vg
*/
- if (arg_count(cmd,list_ARG)) {
+ if (arg_count(cmd, list_ARG)) {
if (!archive_display(cmd, argv[0]))
return ECMD_FAILED;
return 0;
}
- if (!(arg_count(cmd,file_ARG) ?
- backup_restore_from_file(cmd, argv[0],
- arg_str_value(cmd,file_ARG, "")) :
+ if (!(arg_count(cmd, file_ARG) ?
+ backup_restore_from_file(cmd, argv[0],
+ arg_str_value(cmd, file_ARG, "")) :
backup_restore(cmd, argv[0]))) {
log_err("Restore failed.");
return ECMD_FAILED;