diff options
author | Florent Villard <warly@mandriva.com> | 2006-03-05 08:19:34 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-03-05 08:19:34 +0000 |
commit | afb4ff6f4335d6f23b035d18562ba9f523a239b7 (patch) | |
tree | 24504d5d2ea5578d53632ef2a8a9ac08bcb6d604 /iurt2 | |
parent | a5504a8c1878177972e2fe222dc08f6abea42451 (diff) | |
download | iurt-afb4ff6f4335d6f23b035d18562ba9f523a239b7.tar iurt-afb4ff6f4335d6f23b035d18562ba9f523a239b7.tar.gz iurt-afb4ff6f4335d6f23b035d18562ba9f523a239b7.tar.bz2 iurt-afb4ff6f4335d6f23b035d18562ba9f523a239b7.tar.xz iurt-afb4ff6f4335d6f23b035d18562ba9f523a239b7.zip |
do not stop if the upload mode is not set and if the upload dir does not exist
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ if ($run{distro} ne 'cooker') { $config->{upload} =~ s/cooker/contrib/g; } --d $config->{upload} or usage($program_name, \@params, "$config->{upload} does not exist"); +if ($run{upload} && !-d $config->{upload}) { usage($program_name, \@params, "$config->{upload} does not exist") } if (!$run{debug} && $run{media} || $run{chroot}) { $run{pidfile_home} = "$config->{cache_home}/"; |