From bb0c7702e7f2698aa73c94c891e74ef7d97e5e97 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 12 Jan 2012 05:18:54 -0500 Subject: [PATCH] Allow subqueries of strings in remote API. --- 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 fe91c83..86e92f6 100755 --- a/server/plugins-available/shelluser_jailkit_plugin.inc.php +++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php @@ -166,7 +166,7 @@ //exec('rm -rf '.$data['old']['dir'].$jailkit_chroot_userhome); if(@is_dir($data['old']['dir'].$jailkit_chroot_userhome)) { - $command = 'userdel'; + $command = 'userdel -f'; $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