From 48022e4ed284c0ec9124befe24c5c7539e929926 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 24 May 2019 16:13:31 +0200 Subject: [PATCH] fix small typo --- bashbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashbot.sh b/bashbot.sh index a99ee0a..0808838 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -76,7 +76,7 @@ if [ ! -f "${BOTADMIN}" ]; then echo -e "${ORANGE}PLEASE WRITE YOUR TELEGRAM ID HERE OR ENTER '?'${NC}" echo -e "${ORANGE}TO MAKE FIRST USER TYPING '/start' TO BOTADMIN${NC}" read -r admin - printf '%S\n' "${admin}" > "${BOTADMIN}" + printf '%s\n' "${admin}" > "${BOTADMIN}" [ "${admin}" = "" ] && printf '%s\n' '?' > "${BOTADMIN}" fi fi