diff options
Diffstat (limited to 'rescue/partimage_whole_disk')
-rwxr-xr-x | rescue/partimage_whole_disk | 1 |
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({}); |