summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-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());