From aaea204a0f2b55787d2f8e38a1ecbfbb4409c2d2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 12 Jul 2001 13:34:24 +0000 Subject: changed exit code of failed exec in rooted to 128 instead of 1 (may clash with exit code of fsck else). --- perl-install/run_program.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index a0a966efa..f56c59f4d 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -56,12 +56,12 @@ sub rooted { if (ref $name) { unless (exec { $name->[0] } $name->[1], @args) { log::l("exec of $name->[0] failed: $!"); - c::_exit(1); + c::_exit(128); } } else { unless (exec $name, @args) { log::l("exec of $name failed: $!"); - c::_exit(1); + c::_exit(128); } } -- cgit v1.2.1