Skip to content

Commit 2189996

Browse files
alexbrettlindig
authored andcommitted
Remove unused yes parameter in xe-backup-metadata
This parameter was added in 7f1d315, but the changes to always use the new metadata VDIs with known UUIDs means it is no longer required, so remove it. Signed-off-by: Alex Brett <alex.brett@cloud.com>
1 parent 0a11d0b commit 2189996

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/xe-backup-metadata

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ function usage {
3939
echo " -k: Number of older backups to preserve (default: ${history_kept})"
4040
echo " -n: Just try to find a backup VDI and stop the script after that"
4141
echo " -f Force backup even when less than 10% free capacity is left on the backup VDI"
42-
echo " -y: Assume non-interactive mode and yes to all questions"
4342
echo " -v: Verbose output"
4443
echo
4544
echo
@@ -70,7 +69,6 @@ just_find_vdi=0
7069
fs_uninitialised=0
7170
usage_alert=90
7271
force_backup=0
73-
yes=0
7472
while getopts "yhvink:u:dcf" opt ; do
7573
case $opt in
7674
h) usage ;;
@@ -81,7 +79,6 @@ while getopts "yhvink:u:dcf" opt ; do
8179
d) leave_mounted=1 ;;
8280
n) just_find_vdi=1 ;;
8381
v) debug="" ;;
84-
y) yes=1 ;;
8582
f) force_backup=1 ;;
8683
*) echo "Invalid option"; usage ;;
8784
esac

0 commit comments

Comments
 (0)