Blame SOURCES/userdel-f.patch

7f2946
From 77e2d73723aaef376d97597a61328619b8a204c3 Mon Sep 17 00:00:00 2001
7f2946
From: Matthias Clasen <mclasen@redhat.com>
7f2946
Date: Fri, 10 Jan 2014 12:38:55 -0500
7f2946
Subject: [PATCH] Call userdel consistently
7f2946
7f2946
When deleting the users files, we use -f, otherwise we don't. This
7f2946
leads to inconsistent behaviour. Always pass -f.
7f2946
---
7f2946
 src/daemon.c | 7 ++++---
7f2946
 1 file changed, 4 insertions(+), 3 deletions(-)
7f2946
7f2946
diff --git a/src/daemon.c b/src/daemon.c
7f2946
index b2720f4..cb36f01 100644
7f2946
--- a/src/daemon.c
7f2946
+++ b/src/daemon.c
7f2946
@@ -1289,9 +1289,10 @@ daemon_delete_user_authorized_cb (Daemon                *daemon,
7f2946
                 argv[5] = NULL;
7f2946
         }
7f2946
         else {
7f2946
-                argv[1] = "--";
7f2946
-                argv[2] = pwent->pw_name;
7f2946
-                argv[3] = NULL;
7f2946
+                argv[1] = "-f";
7f2946
+                argv[2] = "--";
7f2946
+                argv[3] = pwent->pw_name;
7f2946
+                argv[4] = NULL;
7f2946
         }
7f2946
 
7f2946
         error = NULL;
7f2946
-- 
7f2946
1.8.4.2
7f2946