Skip to content

Commit f06816d

Browse files
committed
Fixed: FS#452 - Jail not working if a jailkit user is recreated
1 parent 03ecf69 commit f06816d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/shelluser_base_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function delete($event_name,$data) {
141141
// Get the UID of the user
142142
$userid = intval($app->system->getuid($data['old']['username']));
143143
if($userid > $this->min_uid) {
144-
$command = 'userdel';
144+
$command = 'userdel --force';
145145
$command .= ' '.escapeshellcmd($data['old']['username']);
146146

147147
exec($command);

0 commit comments

Comments
 (0)