From fc361cc1116b23ec4154bca5e59f562a746b80e6 Mon Sep 17 00:00:00 2001
From: Aaron Griffin <aaron@archlinux.org>
Date: Fri, 8 Dec 2006 07:21:38 +0000
Subject: Removed an extra call to alpm_option_set_root() - it is set by
 alpm_init()

---
 src/pacman/pacman.c | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src')

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;
-- 
cgit v1.2.3-70-g09d2