Fixed bug in config file loader

This commit is contained in:
Eric Renfro 2015-02-19 14:49:51 -05:00
parent 968461678d
commit 8d2bec4c9a

View file

@ -56,7 +56,7 @@ ca_load_conf() {
fi fi
# Override system configuration with local values. # Override system configuration with local values.
# If manually set on command-line, don't load. # If manually set on command-line, don't load.
if [ -n "$CONFFILECLI" ]; then if [ -z "$CONFFILECLI" ]; then
source "$HOME/.ca-scripts.conf" source "$HOME/.ca-scripts.conf"
fi fi
elif [ -r "$CONFFILE" ]; then elif [ -r "$CONFFILE" ]; then