From a836b4d03b30b8aebd6779b3bf53a0d594feae2b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 4 May 2005 02:24:43 +0000 Subject: run_program needs a proper HOME --- rescue/partimage_whole_disk | 1 + 1 file changed, 1 insertion(+) (limited to 'rescue') 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 []\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({}); -- cgit v1.2.1