mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 13:26:02 +00:00
fix: templates_catalog.sh - redirect show_template_preview stdout to stderr
Lines 168-172 in show_template_preview() were missing >&2, causing stdout leak into subshell capture chain. This corrupted template_dir variable and broke Stealth mode deployment.
This commit is contained in:
@@ -165,11 +165,11 @@ show_template_preview() {
|
||||
fi
|
||||
|
||||
# Благодарность автору
|
||||
echo ""
|
||||
echo -e " ${MAGENTA}💜 Спасибо авторам ${source} за открытый код!${NC}"
|
||||
echo "" >&2
|
||||
echo -e " ${MAGENTA}💜 Спасибо авторам ${source} за открытый код!${NC}" >&2
|
||||
|
||||
echo -e " ${DIM}$(printf '─%.0s' {1..55})${NC}"
|
||||
echo ""
|
||||
echo -e " ${DIM}$(printf '─%.0s' {1..55})${NC}" >&2
|
||||
echo "" >&2
|
||||
|
||||
if ! confirm "Установить этот шаблон?"; then
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user