Просмотр исходного кода

Switch to exit instead logout to gain proxmox lxc compatbility.

Raphael Schneeberger 6 лет назад
Родитель
Сommit
6aac816709
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-debian.sh

@@ -1837,7 +1837,7 @@ if [ "$interactive" = 'yes' ]; then
     read resetshell
 
     if [ "$resetshell" = "Y" ] || [ "$resetshell" = "y" ]; then
-        logout
+        exit
     fi
 fi
 

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -1734,7 +1734,7 @@ if [ "$interactive" = 'yes' ]; then
     read resetshell
 
     if [ "$resetshell" = "Y" ] || [ "$resetshell" = "y" ]; then
-        logout
+        exit
     fi
 fi