Fixed rebooting after rollback
Fixed typo in systemctl reboot call after rollback
This commit is contained in:
parent
42514f1836
commit
b8535a7d65
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