shutdown xo-server even when install is possibly mistakenly ran. add gitignore
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
xo-install.log
|
@@ -343,7 +343,7 @@ read -p ": " option
|
|||||||
read -p "[y/N]: " answer
|
read -p "[y/N]: " answer
|
||||||
case $answer in
|
case $answer in
|
||||||
y)
|
y)
|
||||||
:
|
/bin/systemctl stop xo-server || { echo "failed to stop service, exiting..." ; exit 1; }
|
||||||
;;
|
;;
|
||||||
n)
|
n)
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user