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

(-)xinstall.c (-1 / +3 lines)
Lines 316-322 Link Here
316
		uid = (uid_t)-1;
316
		uid = (uid_t)-1;
317
317
318
	if (fflags != NULL && !dounpriv) {
318
	if (fflags != NULL && !dounpriv) {
319
		if (strtofflags(&fflags, &fset, NULL))
319
		if (*fflags >= '0' && *fflags <= '7') {
320
			fset = strtol(fflags, NULL, 8);
321
		} else if (strtofflags(&fflags, &fset, NULL))
320
			errx(EX_USAGE, "%s: invalid flag", fflags);
322
			errx(EX_USAGE, "%s: invalid flag", fflags);
321
		iflags |= SETFLAGS;
323
		iflags |= SETFLAGS;
322
	}
324
	}

Return to bug 206809