diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:43:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:43:58 +0000 |
commit | ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db (patch) | |
tree | 21131b13145f1a207e28d5d537ee0c9a59ff2889 | |
parent | 6e70ce8bfc255eb3d779c4f72ad76b0b65794e62 (diff) | |
download | mgaonline-ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db.tar mgaonline-ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db.tar.gz mgaonline-ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db.tar.bz2 mgaonline-ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db.tar.xz mgaonline-ab271008dbfecc725fafdfb4aa41e7d1a6e0f7db.zip |
enable to run another applet instance in --testing mode
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -41,7 +41,11 @@ use Rpmdrake::open_db; if (!find { $_ eq '--auto-update' } @ARGV) { if (my $pid = mdkonline::is_running('mdkapplet')) { - die "mdkapplet already running ($pid)\n"; + if ($::testing) { + warn "mdkapplet already running ($pid)\n"; + } else { + die "mdkapplet already running ($pid)\n"; + } } } |