refactor(webuis): reword error message

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-06 13:11:46 +02:00
parent bd408581bc
commit be9c2d36e7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ set -e
function install_fluidd(){ function install_fluidd(){
### exit early if moonraker not found ### exit early if moonraker not found
if [ -z "$(moonraker_systemd)" ]; then if [ -z "$(moonraker_systemd)" ]; then
local error="Moonraker service not found!\n Please install Moonraker first!" local error="Moonraker not installed! Please install Moonraker first!"
print_error "${error}" && return print_error "${error}" && return
fi fi
### checking dependencies ### checking dependencies

View File

@@ -18,7 +18,7 @@ set -e
function install_mainsail(){ function install_mainsail(){
### exit early if moonraker not found ### exit early if moonraker not found
if [ -z "$(moonraker_systemd)" ]; then if [ -z "$(moonraker_systemd)" ]; then
local error="Moonraker service not found!\n Please install Moonraker first!" local error="Moonraker not installed! Please install Moonraker first!"
print_error "${error}" && return print_error "${error}" && return
fi fi
### checking dependencies ### checking dependencies