mirror of
https://github.com/anten-ka/gotelegram_pro.git
synced 2026-05-19 18:06:09 +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
|
fi
|
||||||
|
|
||||||
# Благодарность автору
|
# Благодарность автору
|
||||||
echo ""
|
echo "" >&2
|
||||||
echo -e " ${MAGENTA}💜 Спасибо авторам ${source} за открытый код!${NC}"
|
echo -e " ${MAGENTA}💜 Спасибо авторам ${source} за открытый код!${NC}" >&2
|
||||||
|
|
||||||
echo -e " ${DIM}$(printf '─%.0s' {1..55})${NC}"
|
echo -e " ${DIM}$(printf '─%.0s' {1..55})${NC}" >&2
|
||||||
echo ""
|
echo "" >&2
|
||||||
|
|
||||||
if ! confirm "Установить этот шаблон?"; then
|
if ! confirm "Установить этот шаблон?"; then
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user