summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 7573678..58a98b9 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -174,8 +174,7 @@ doit() {
# Mode: download #######################################################
if [[ $mode =~ download ]]; then
- load_files librefetch
- check_vars librefetch MIRRORS DOWNLOADER || exit 1
+ load_conf librefetch.conf MIRRORS DOWNLOADER || exit
# Canonicalize $src
if [[ "$src" == libre://* ]]; then