Treat empty SSH settings in the config as not set

The example config has empty remote_sudo and numeric_ids values, which
made getboolean fail with "Bad configuration file" if the [server]
section was uncommented, and an empty ssh_keyfile was used as the key
path. Treat empty values as false or not set, and show false in the
example config.
This commit is contained in:
Fuxino
2026-10-08 20:42:05 +02:00
parent 29958896a2
commit cd80c941ad
2 changed files with 9 additions and 21 deletions
+2 -2
View File
@@ -18,5 +18,5 @@ keep=-1
# ssh_host=
# ssh_user=
# ssh_keyfile=
# remote_sudo=
# numeric_ids=
# remote_sudo=false
# numeric_ids=false