summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-08 07:21:38 +0000
committerAaron Griffin <aaron@archlinux.org>2006-12-08 07:21:38 +0000
commitfc361cc1116b23ec4154bca5e59f562a746b80e6 (patch)
treec8f4d9a0f4bbd75280264747e384c4d63e358bc3
parent6ca24d592455f0ea7558dc70b78e59b3877a476a (diff)
downloadpacman-fc361cc1116b23ec4154bca5e59f562a746b80e6.tar.xz
Removed an extra call to alpm_option_set_root() - it is set by alpm_init()
-rw-r--r--src/pacman/pacman.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 3e6854c5..d99ddc04 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -360,8 +360,6 @@ static int parseargs(int argc, char *argv[])
perror(_("bad root path"));
return(1);
}
- alpm_option_set_root(root);
- config->root = alpm_option_get_root();
break;
case 's':
config->op_s_search = 1;