Modified rollback output

This commit is contained in:
Jarno Rankinen 2020-12-28 21:37:30 +02:00
parent f5df8f09df
commit d003820acb
1 changed files with 6 additions and 1 deletions

7
snapsh
View File

@ -187,7 +187,12 @@ rollback() {
SUBVOLUME=${SOURCE_SUBVOLUME}
printf "\nYou are about to roll back to snapshot ${ROLLBACK_TARGET}: ${DATE}, subvolume ${SOURCE_SUBVOLUME}, type ${TYPE}, ${DESCRIPTION}.\n\nAre you sure (yes/no)? "
printf "\nYou are about to roll back to snapshot
${ROLLBACK_TARGET}: ${DATE}
subvolume ${SOURCE_SUBVOLUME}
type ${TYPE}
description: ${DESCRIPTION}
\nAre you sure (yes/no)? "
read
if [[ "${REPLY}" == "yes" ]]; then