GLPI #50737
tags/smeserver-expire-accounts-0.1.8-1
Daniel Berteaud 3 years ago
parent b681887c57
commit cd83a2ddde
  1. 2
      root/sbin/e-smith/expire-accounts

@ -125,7 +125,7 @@ foreach my $u (@delete){
if ( $archive =~ m/^yes|enabled|1|on$/ ){
# Suspend email delivery, prevent tar ending with exit code 1
# because Maildir changed during archive
system('chmod', '+t', getpwnam($u)->dir)
system('chmod', '+t', getpwnam($u)->dir);
my $tar = $archive_path . '/' . $u . '-' . $now->ymd . '.tar.' . $archive_ext;
my $res = system(
'tar',

Loading…
Cancel
Save