Make the archive relative to the home dir

tags/smeserver-expire-accounts-0.1.7-1
Daniel Berteaud 9 years ago
parent 37ffff48c5
commit 933356c428
  1. 2
      root/sbin/e-smith/expire-accounts

@ -128,6 +128,8 @@ foreach my $u (@delete){
$tar, $tar,
'--use-compress-program', '--use-compress-program',
$archive_compress, $archive_compress,
'-C',
getpwnam($u)->dir,
getpwnam($u)->dir getpwnam($u)->dir
); );
if ($res == 0){ if ($res == 0){

Loading…
Cancel
Save