aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt24
1 files changed, 1 insertions, 3 deletions
diff --git a/iurt2 b/iurt2
index 8dc4306..c0daad4 100755
--- a/iurt2
+++ b/iurt2
@@ -726,9 +726,7 @@ if (!$run{use_old_chroot}) {
}
$chroot_tmp = "$config->{local_home}/chroot_tmp/$run{user}";
- if (!-d $chroot_tmp) {
- mkdir $chroot_tmp;
- }
+ mkdir_p($chroot_tmp);
$chroot_tmp = "$config->{local_home}/chroot_tmp/$run{user}/$chroot_name.$run{run}";
$run{chroot_tmp} = $chroot_tmp;