jmontoya
2010-08-04 e8a29cf134f7df1a1e7637083f6d7adf64949b7c
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);