Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 914298
Collapse All | Expand All

(-)a/install-xattr.c (-1 / +1 lines)
Lines 342-348 main(int argc, char* argv[]) Link Here
342
	char *portage_helper_path = getenv("__PORTAGE_HELPER_PATH");
342
	char *portage_helper_path = getenv("__PORTAGE_HELPER_PATH");
343
	char *portage_helper_canpath = NULL;
343
	char *portage_helper_canpath = NULL;
344
	if (portage_helper_path)
344
	if (portage_helper_path)
345
		if (chdir(oldpwd) != 0)
345
		if (!oldpwd || chdir(oldpwd) != 0)
346
			err(1, "failed to chdir %s", oldpwd);
346
			err(1, "failed to chdir %s", oldpwd);
347
347
348
	switch (fork()) {
348
	switch (fork()) {

Return to bug 914298