From af5f0aaf6bb403ba2843912cefe9c54ed40231d2 Mon Sep 17 00:00:00 2001 From: jwarnier <jwarnier@ispconfig3> Date: Mon, 16 Aug 2010 19:02:57 -0400 Subject: [PATCH] - Add and use a $conf["logpath"]. - Fix some comments. --- 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 743c4e2..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'; + $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