Fixed rebooting after rollback #11

Merged
jarno merged 1 commits from dev into master 2020-08-05 08:42:07 +03:00
1 changed files with 2 additions and 2 deletions

4
snapsh
View File

@ -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