Remove duplicate umask(2) call.

PR:             dusty/7998
Submitted by:   Stefan Eggers <seggers@semyam.dinoco.de>
MFC after:	2 weeks
This commit is contained in:
Maxim Sobolev 2001-08-15 14:22:01 +00:00
parent 971abb295e
commit 89a0be2e4f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81699

View File

@ -395,7 +395,6 @@ pkg_do(char *pkg)
char contents[FILENAME_MAX];
FILE *cfile;
umask(022);
if (getuid() != 0)
warnx("not running as root - trying to record install anyway");
if (!PkgName) {