From 21f4ec101ab2e898324ad1f080e14f4a1fcc84cc Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 12 Feb 2009 06:33:29 -0500
Subject: [PATCH] Added a uninstall script for fedora.

---
 server/plugins-available/shelluser_base_plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php
index bf834c7..59cfad9 100755
--- a/server/plugins-available/shelluser_base_plugin.inc.php
+++ b/server/plugins-available/shelluser_base_plugin.inc.php
@@ -141,7 +141,7 @@
 			// Get the UID of the user
 			$userid = intval($app->system->getuid($data['old']['username']));
 			if($userid > $this->min_uid) {
-				$command = 'userdel';
+				$command = 'userdel --force';
 				$command .= ' '.escapeshellcmd($data['old']['username']);
 			
 				exec($command);

--
Gitblit v1.9.1