Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 581942 Details for
Bug 689308
acct-user.eclass: do not die during unmerge if the user does not exist
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acct-user.patch
acct-user.patch (text/plain), 561 bytes, created by
Eray Aslan
on 2019-07-05 08:12:40 UTC
(
hide
)
Description:
acct-user.patch
Filename:
MIME Type:
Creator:
Eray Aslan
Created:
2019-07-05 08:12:40 UTC
Size:
561 bytes
patch
obsolete
>--- a/eclass/acct-user.eclass 2019-06-20 11:40:21.000000000 +0300 >+++ b/eclass/acct-user.eclass 2019-07-05 11:05:59.640801945 +0300 >@@ -190,6 +190,11 @@ > return 0 > fi > >+ if [[ -z $(egetent passwd "$1") ]] ; then >+ ewarn "User does not exist, cannot lock user -- skipping." >+ return 0 >+ fi >+ > eislocked "$1" > [[ $? -eq 0 ]] && return 0 > >@@ -233,6 +238,11 @@ > return 0 > fi > >+ if [[ -z $(egetent passwd "$1") ]] ; then >+ ewarn "User does not exist, cannot unlock user -- skipping." >+ return 0 >+ fi >+ > eislocked "$1" > [[ $? -eq 1 ]] && return 0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 689308
: 581942