aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xrpmdrake3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1e8b0226..900c3f6c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake
+ o display a graphical warning when trying more than one instance
+ instead of silently exiting
- MandrivaUpdate:
o do not display the banner when height <= 480 instead of just < 480
(#54550)
diff --git a/rpmdrake b/rpmdrake
index 6eeb80c5..a21315ec 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -767,7 +767,8 @@ sub run_treeview_dialog {
if (my $pid = is_running('rpmdrake')) {
- die "rpmdrake is already running ($pid)\n";
+ interactive_msg(N("Warning"), N("rpmdrake is already running (pid: $pid)"., yesno => [ N("Quit") ]);
+ exit(0);
}
$w = ugtk2->new(N("Software Management"));