From 31e0ef4addf34d175deab3a62ca0f6200f37458a Mon Sep 17 00:00:00 2001 From: vilmibm Date: Fri, 18 Jan 2019 21:31:09 +0000 Subject: [PATCH] do not raise if pkill fails to kill. --- scripts/rename_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rename_user.py b/scripts/rename_user.py index 9b27730..8e8c372 100755 --- a/scripts/rename_user.py +++ b/scripts/rename_user.py @@ -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 = [