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:
@@ -18,5 +18,5 @@ keep=-1
|
||||
# ssh_host=
|
||||
# ssh_user=
|
||||
# ssh_keyfile=
|
||||
# remote_sudo=
|
||||
# numeric_ids=
|
||||
# remote_sudo=false
|
||||
# numeric_ids=false
|
||||
|
||||
Reference in New Issue
Block a user