Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=875163d9f7a9669b26514f6c233d8ccf67cf96fb

commit 875163d9f7a9669b26514f6c233d8ccf67cf96fb
Author: James Buren <[email protected]>
Date:   Wed Nov 9 17:27:14 2011 -0600

fw32.c: mount base directories for pacman_g2 function

diff --git a/fw32.c b/fw32.c
index 142e978..152ec51 100644
--- a/fw32.c
+++ b/fw32.c
@@ -401,13 +401,12 @@ pacman_g2(char **args1)
{
pid_t id;
int status;
-  FW32_DIR cache = { "/var/cache/pacman-g2", false };

assert(args1);

umount_all();

-  mount_directory(&cache);
+  mount_base();

id = fork();

@@ -436,7 +435,7 @@ pacman_g2(char **args1)
if(!WIFEXITED(status) || WEXITSTATUS(status))
error("pacman-g2 failed to complete its operation.\n");

-  umount_directory(&cache);
+  umount_all();

mount_all();
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to