Fixed rebooting after rollback #11
4
snapsh
4
snapsh
|
@ -182,9 +182,9 @@ rollback() {
|
||||||
read -n 1
|
read -n 1
|
||||||
|
|
||||||
if [[ "${REPLY}" == "y" ]]; then
|
if [[ "${REPLY}" == "y" ]]; then
|
||||||
systemctl restart & exit 0
|
systemctl reboot & exit 0
|
||||||
else
|
else
|
||||||
printf "\nPlease restart system as soon as possible. Any changes to\nsubvolume ${SOURCE_SUBVOLUME} will not persist after rebooting.\n"
|
printf "\nPlease restart system as soon as possible. Any changes to subvolume ${SOURCE_SUBVOLUME} will not persist after rebooting.\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue