Fix error "File contains no section headers." when creating test config.

This commit is contained in:
2025-10-30 15:02:16 -07:00
parent 2be7e028b6
commit c2790e2de4

View File

@@ -140,6 +140,7 @@ if [[ -n "$create_general" && ! -f "$general_config" ]]; then
function print_general_contents {
cat <<- EOF
; TEST DATA
[global]
enable=true
user=test
user_desc=Test
@@ -154,6 +155,7 @@ if [[ -n "$create_workstation" && ! -f "$workstation_config" ]]; then
function print_workstation_contents {
cat <<- EOF
; TEST DATA
[global]
enable=true
coding=true
editing=false
@@ -168,6 +170,7 @@ if [[ -n "$create_server" && ! -f "$server_config" ]]; then
function print_server_contents {
cat <<- EOF
; TEST DATA
[global]
enable=true
; TEST DATA
EOF