Modified rollback output
This commit is contained in:
parent
f5df8f09df
commit
d003820acb
7
snapsh
7
snapsh
|
@ -187,7 +187,12 @@ rollback() {
|
||||||
|
|
||||||
SUBVOLUME=${SOURCE_SUBVOLUME}
|
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
|
read
|
||||||
|
|
||||||
if [[ "${REPLY}" == "yes" ]]; then
|
if [[ "${REPLY}" == "yes" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue