~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to tools/vgextend.c

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20140819153706-i1gaio8lg534dara
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
                if (arg_count(cmd, metadataignore_ARG) &&
104
104
                    (vg_mda_copies(vg) != VGMETADATACOPIES_UNMANAGED) &&
105
 
                    (pp.force == PROMPT) &&
 
105
                    (pp.force == PROMPT) && !pp.yes &&
106
106
                    yes_no_prompt("Override preferred number of copies "
107
 
                          "of VG %s metadata? [y/n]: ",
 
107
                                  "of VG %s metadata? [y/n]: ",
108
108
                                  vg_name) == 'n') {
109
109
                        log_error("Volume group %s not changed", vg_name);
110
110
                        goto bad;