From f8f99eb3ec41703c29b6a43b9bce48ce30d0eeec Mon Sep 17 00:00:00 2001 From: zarazaex69 Date: Sat, 9 May 2026 19:23:57 +0300 Subject: [PATCH] fix unexpected end of file from --- script/srv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/srv.sh b/script/srv.sh index ae2d763..16d8063 100755 --- a/script/srv.sh +++ b/script/srv.sh @@ -319,8 +319,9 @@ podman run -d \ "${EXTRA_ARGS[@]}" "${TRANSPORT_ARGS[@]}" read -p "Enter a comment for the config (default: OLC chat - t.me/openlibrecommunitychat): " sub_configname -if [-f "$sub_configname"]; then +if [ -z "$sub_configname" ]; then sub_configname="OLC chat - t.me/openlibrecommunitychat" +fi echo "" echo "[+] Server started successfully!"