From 9e3e9af57bfc262deaa7446254f772b35f58d022 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 31 May 2010 07:51:45 -0400 Subject: [PATCH] Fixed: FS#1140 - Warnings related to apps vhost. --- server/plugins-available/shelluser_jailkit_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php index 60524ba..c1b32ab 100755 --- a/server/plugins-available/shelluser_jailkit_plugin.inc.php +++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php @@ -160,7 +160,7 @@ //exec('rm -rf '.$data['old']['dir'].$jailkit_chroot_userhome); if(@is_dir($data['old']['dir'].$jailkit_chroot_userhome)) { - $command = 'userdel -f -r'; + $command = 'userdel'; $command .= ' '.escapeshellcmd($data['old']['username']); exec($command); $app->log("Jailkit Plugin -> delete chroot home:".$data['old']['dir'].$jailkit_chroot_userhome,LOGLEVEL_DEBUG); -- Gitblit v1.9.1