reference the actual logfile in case of error instead of vaguely mentioning logs

This commit is contained in:
Roni Väyrynen
2022-01-30 13:19:59 +02:00
parent ca1c105210
commit c6a9f0cb9a

View File

@@ -114,7 +114,7 @@ function SelfUpgrade {
printok "Self upgrade done"
exec "$SCRIPT_DIR/xo-install.sh" "$@"
} ||
printfail "Failed to self upgrade. Check logs for more details. Continuing with current version"
printfail "Failed to self upgrade. Check $LOGFILE for more details. Continuing with current version"
fi
fi
fi
@@ -855,7 +855,7 @@ function VerifyServiceStart {
# if service startup failed...
else
echo
printfail "$TASK completed, but looks like there was a problem when starting $XO_SVC. Please see logs for more details"
printfail "$TASK completed, but looks like there was a problem when starting $XO_SVC. Check $LOGFILE for more details"
# shellcheck disable=SC2129
echo "" >>"$LOGFILE"
echo "$TASK failed" >>"$LOGFILE"