summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-04 02:24:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-04 02:24:43 +0000
commita836b4d03b30b8aebd6779b3bf53a0d594feae2b (patch)
tree8e7a4a79d0a1f6d551a903523b3539472d4f1d32 /rescue
parent297217bfd792ad63cd338a5ff27180aa9e8528a8 (diff)
downloaddrakx-backup-do-not-use-a836b4d03b30b8aebd6779b3bf53a0d594feae2b.tar
drakx-backup-do-not-use-a836b4d03b30b8aebd6779b3bf53a0d594feae2b.tar.gz
drakx-backup-do-not-use-a836b4d03b30b8aebd6779b3bf53a0d594feae2b.tar.bz2
drakx-backup-do-not-use-a836b4d03b30b8aebd6779b3bf53a0d594feae2b.tar.xz
drakx-backup-do-not-use-a836b4d03b30b8aebd6779b3bf53a0d594feae2b.zip
run_program needs a proper HOME
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/partimage_whole_disk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/partimage_whole_disk b/rescue/partimage_whole_disk
index 245718035..18414170d 100755
--- a/rescue/partimage_whole_disk
+++ b/rescue/partimage_whole_disk
@@ -20,6 +20,7 @@ sub usage() { die "partimage_whole_disk <save_all | rest_all> <dir> [<server>]\n
@ARGV == 2 || @ARGV == 3 or usage();
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
+$ENV{HOME} = '/';
log::openLog("/var/log/partimage_whole_disk.log");
my @partimage_cmd = ('partimage', if_($server, '-s', $server));
my $all_hds = fsedit::get_hds({});