Fixed rebooting after rollback

Fixed typo in systemctl reboot call after rollback
This commit is contained in:
Jarno Rankinen 2020-08-05 08:40:31 +03:00
parent 42514f1836
commit b8535a7d65
1 changed files with 2 additions and 2 deletions

4
snapsh
View File

@ -182,9 +182,9 @@ rollback() {
read -n 1
if [[ "${REPLY}" == "y" ]]; then
systemctl restart & exit 0
systemctl reboot & exit 0
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
fi