summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index a0c38cb0..1e0978c2 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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";
+ }
}
}