complete sysconfdir support

This commit is contained in:
rofl0r
2012-01-30 18:29:35 +01:00
parent 0ee539f31c
commit e99dd76941
2 changed files with 3 additions and 3 deletions

View File

@ -121,8 +121,8 @@ int main(int argc, char *argv[]) {
if(check_path(path))
goto have;
// priority 4: $INSTALL_PREFIX/etc/proxychains.conf
path = INSTALL_PREFIX "/etc/" PROXYCHAINS_CONF_FILE;
// priority 4: $SYSCONFDIR/proxychains.conf
path = SYSCONFDIR "/" PROXYCHAINS_CONF_FILE;
if(check_path(path))
goto have;