Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
81f4c187
Commit
81f4c187
authored
Oct 04, 2005
by
Leigh B. Stoller
Browse files
Ignore updates to frozen users; they will happen later if the user
is thawed.
parent
0664c7ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
account/tbacct.in
View file @
81f4c187
...
...
@@ -550,6 +550,14 @@ sub UpdateUser(;$)
return
0
;
}
if
(
!
defined
(
$freezeopt
)
&&
(
$status
ne
USERSTATUS_ACTIVE
))
{
#
# If doing a modification to a frozen user, then just ignore
# it; the modification will happen later when the user is thawed.
#
if
(
$status
eq
USERSTATUS_FROZEN
)
{
print
"
Ignoring update of frozen user
$user
\n
";
return
0
;
}
fatal
("
$user
is not active! Cannot update the account!
");
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment