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:
parent
1b1f9ae878
commit
327d46b1af
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user