View | Details | Raw Unified | Return to bug 24971
Collapse All | Expand All

(-)perform.c (-5 / +4 lines)
Lines 172-184 Link Here
172
	errx(2, __FUNCTION__ ": unable to return to working directory %s!", home);
172
	errx(2, __FUNCTION__ ": unable to return to working directory %s!", home);
173
    }
173
    }
174
174
175
    if (!Fake) {
175
    /* Some packages aren't packed right, so we need to just ignore
176
	/* Some packages aren't packed right, so we need to just ignore delete_package()'s status.  Ugh! :-( */
176
       delete_package()'s status.  Ugh! :-( */
177
	if (delete_package(FALSE, CleanDirs, &Plist) == FAIL)
177
    if (delete_package(FALSE, CleanDirs, &Plist) == FAIL)
178
	    warnx(
178
	warnx(
179
	"couldn't entirely delete package (perhaps the packing list is\n"
179
	"couldn't entirely delete package (perhaps the packing list is\n"
180
	"incorrectly specified?)");
180
	"incorrectly specified?)");
181
    }
182
181
183
    if (chdir(LogDir) == FAIL) {
182
    if (chdir(LogDir) == FAIL) {
184
 	warnx("unable to change directory to %s! deinstall failed", LogDir);
183
 	warnx("unable to change directory to %s! deinstall failed", LogDir);

Return to bug 24971