From 11edcc1602044ae992ffba3856d2f55f07c4d448 Mon Sep 17 00:00:00 2001 From: MainKronos Date: Wed, 5 Oct 2022 20:55:14 +0200 Subject: [PATCH] Fix #76 --- config/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/start.sh b/config/start.sh index adad358..6b652c2 100644 --- a/config/start.sh +++ b/config/start.sh @@ -21,7 +21,7 @@ User gid: $(id -g "$USER_NAME") touch /script/json/settings.json touch /script/json/table.json -sed -i -e 's/\r$//' connections/*.sh +if [ -f connections/*.sh ]; then sed -i -e 's/\r$//' connections/*.sh; fi chown "$USER_NAME":"$USER_NAME" /script -R chmod 777 /script -R