forked from lix-project/lix-installer
Make CreateUser idempotent (#306)
This commit is contained in:
parent
c42a3f58d9
commit
6219b2c48d
|
@ -51,6 +51,9 @@ impl CreateUser {
|
|||
gid,
|
||||
));
|
||||
}
|
||||
|
||||
tracing::debug!("Creating user `{}` already complete", this.name);
|
||||
return Ok(StatefulAction::completed(this));
|
||||
}
|
||||
|
||||
Ok(StatefulAction::uncompleted(this))
|
||||
|
|
Loading…
Reference in a new issue