diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 21:57:20 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:18:28 +0000 |
commit | 610a2894c08113a013e9e9b4a9b33f1ed19b3151 (patch) | |
tree | 1f6adecfd586c52a4e4d06c477e7bccd6ae7daf7 | |
parent | c643478ad84c4e30539c5b18d23718eccf292506 (diff) | |
download | imv-610a2894c08113a013e9e9b4a9b33f1ed19b3151.tar.gz |
Fall back on global config, if user has none
-rw-r--r-- | src/imv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -836,6 +836,8 @@ static char *get_config_path(void) "$HOME/.imv_config", "$HOME/.imv/config", "$XDG_CONFIG_HOME/imv/config", + "/usr/local/etc/imv_config", + "/etc/imv_config", }; for(size_t i = 0; i < sizeof(config_paths) / sizeof(char*); ++i) { |