summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/expac.c b/expac.c
index d2558a1..cdeead8 100644
--- a/expac.c
+++ b/expac.c
@@ -152,9 +152,7 @@ static int alpm_init() {
strsep(&ptr, "=");
strtrim(key);
strtrim(ptr);
- if (strcmp(key, "RootDir") == 0) {
- alpm_option_set_root(ptr);
- } else if (strcmp(key, "DBPath") == 0) {
+ if (strcmp(key, "DBPath") == 0) {
alpm_option_set_dbpath(ptr);
}
}