diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-04 02:24:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-04 02:24:43 +0000 |
commit | a836b4d03b30b8aebd6779b3bf53a0d594feae2b (patch) | |
tree | 8e7a4a79d0a1f6d551a903523b3539472d4f1d32 /rescue | |
parent | 297217bfd792ad63cd338a5ff27180aa9e8528a8 (diff) | |
download | drakx-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-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({}); |