mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
only show reboot message if /install is a mountpoint
This commit is contained in:
parent
367548bc89
commit
0f425d4560
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ _mainmenu() {
|
|||
"8")
|
||||
[[ -e /tmp/.setup-running ]] && rm /tmp/.setup-running
|
||||
clear
|
||||
if [[ "${_DESTDIR}" == "/install" ]]; then
|
||||
if mountpoint -q /install; then
|
||||
echo ""
|
||||
echo "If the install finished successfully, you can now type 'reboot'"
|
||||
echo "to restart the system."
|
||||
|
|
Loading…
Reference in a new issue