do not raise if pkill fails to kill.
parent
1425e48c02
commit
31e0ef4add
|
@ -14,7 +14,7 @@ def rename_user(old_username, new_username):
|
|||
'pkill',
|
||||
'-u',
|
||||
old_username]
|
||||
subprocess.run(args, check=True)
|
||||
subprocess.run(args, check=False)
|
||||
|
||||
# Rename user
|
||||
args = [
|
||||
|
|
Loading…
Reference in New Issue