diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-08 15:54:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-08 15:54:43 +0000 |
commit | c6516cac2eb5f8953ab1fcda1c65c623c692910c (patch) | |
tree | c5cd205c6e1593d1f77df63727d1b06258035e0a /perl-install | |
parent | d27835dbdf4ec277591ffa68e4233f869f3f6a9f (diff) | |
download | drakx-backup-do-not-use-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar drakx-backup-do-not-use-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.gz drakx-backup-do-not-use-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.bz2 drakx-backup-do-not-use-c6516cac2eb5f8953ab1fcda1c65c623c692910c.tar.xz drakx-backup-do-not-use-c6516cac2eb5f8953ab1fcda1c65c623c692910c.zip |
merge back drakbacup update
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakbackup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakbackup b/perl-install/standalone/drakbackup index e6eb24a49..33ebb909f 100755 --- a/perl-install/standalone/drakbackup +++ b/perl-install/standalone/drakbackup @@ -274,7 +274,7 @@ my $time_string = "* * * * *"; my $exec_string = "export USER=$ENV{USER}; /usr/sbin/drakbackup --daemon > /dev/null 2>&1"; # allow not-root user with own config -if ($ENV{HOME} ne '/root') { +if ($ENV{USER} ne 'root' && $ENV{HOME} ne '/root') { standalone::explanations("Running as $ENV{USER}..."); #- doesn't get defined when run from cron $user_home = "/home/$ENV{USER}" if $user_home eq ''; |