summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-03 13:31:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-03 13:31:02 +0000
commitfa2fe939a1d0dc387cf068ee83d701202f5c1ea4 (patch)
tree23c6c97f167b957954ff70743a10dc4d03d44629
parent701f4ba3cbaecf0b0a4877c3f283739bd0d232fb (diff)
downloaddrakx-backup-do-not-use-fa2fe939a1d0dc387cf068ee83d701202f5c1ea4.tar
drakx-backup-do-not-use-fa2fe939a1d0dc387cf068ee83d701202f5c1ea4.tar.gz
drakx-backup-do-not-use-fa2fe939a1d0dc387cf068ee83d701202f5c1ea4.tar.bz2
drakx-backup-do-not-use-fa2fe939a1d0dc387cf068ee83d701202f5c1ea4.tar.xz
drakx-backup-do-not-use-fa2fe939a1d0dc387cf068ee83d701202f5c1ea4.zip
no clp is not an error
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 7b9a251b5..cb4077d09 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1562,7 +1562,7 @@ sub clp_on_disk() { "$::prefix/tmp/$clp_name" }
sub move_clp_to_disk() {
return if -e clp_on_disk();
- my ($loop, $current_clp) = devices::find_clp_loop($clp_name);
+ my ($loop, $current_clp) = devices::find_clp_loop($clp_name) or return;
log::l("move_clp_to_disk: copying $current_clp to ", clp_on_disk());
cp_af($current_clp, clp_on_disk());
run_program::run('losetup', $loop, clp_on_disk());