]> granicus.if.org Git - shadow/commitdiff
* src/login.c: We do not need to keep the old umask. Discard the
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 20 Apr 2009 12:17:38 +0000 (12:17 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 20 Apr 2009 12:17:38 +0000 (12:17 +0000)
umask() return value.

src/login.c

index 843197d442499a844aae71764e32b8cde2540d33..503f05270288d531dde66a550f38019aa4163fcb 100644 (file)
@@ -553,7 +553,7 @@ int main (int argc, char **argv)
        setup_tty ();
 
 #ifndef USE_PAM
-       umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK));
+       (void) umask (getdef_num ("UMASK", GETDEF_DEFAULT_UMASK));
 
        {
                /*