summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r--perl-install/run_program.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 593b270d8..40a853764 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -44,12 +44,12 @@ sub rooted {
if (ref $name) {
unless (exec { $name->[0] } $name->[1], @args) {
log::l("exec of $name->[0] failed: $!");
- exec('false') or exit(1);
+ c::_exit(1);
}
} else {
unless (exec $name, @args) {
log::l("exec of $name failed: $!");
- exec('false') or exit(1);
+ c::_exit(1);
}
}