aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Chroot.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index c2a388d..01cd514 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -156,9 +156,8 @@ sub add_local_user {
if ($uid) {
if (!sudo($config, "--useradd", $chroot_tmp, $luser, $uid)) {
plog('ERROR', "ERROR: setting userid $uid to $luser in " .
- "$chroot_tmp failed, checking the chroot");
- check_build_chroot($run->{chroot_path}, $run->{chroot_tar}, $run,
- $config) or return;
+ "$chroot_tmp failed");
+ return;
}
} else {
# the program has been launch as root, setting the home to /home/root for compatibility