diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-16 13:44:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-16 13:44:41 +0000 |
commit | f5cc84f7e48f72bff1f372ba033ba0540380f2f2 (patch) | |
tree | 0269d2d8cde3e3a5895c8e02910063c5ecc2f1bf | |
parent | 1037ba9adbe6277cbe7baa7612053ff386d964f5 (diff) | |
download | rpmdrake-f5cc84f7e48f72bff1f372ba033ba0540380f2f2.tar rpmdrake-f5cc84f7e48f72bff1f372ba033ba0540380f2f2.tar.gz rpmdrake-f5cc84f7e48f72bff1f372ba033ba0540380f2f2.tar.bz2 rpmdrake-f5cc84f7e48f72bff1f372ba033ba0540380f2f2.tar.xz rpmdrake-f5cc84f7e48f72bff1f372ba033ba0540380f2f2.zip |
prevent running more than one instance (#47755)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,7 @@ - rpmdrake: o add 'compute_updates' option that enable super fast startup by skipping computing updates on startup (#42848) + o prevent running more than one instance (#47755) Version 5.8 - 15 February 2009, Thierry Vignaud @@ -735,6 +735,10 @@ sub run_treeview_dialog { # -=-=-=---=-=-=---=-=-=-- main -=-=-=---=-=-=---=-=-=- +if (my $pid = is_running('rpmdrake')) { + die "rpmdrake is already running ($pid)\n"; +} + $w = ugtk2->new(N("Software Management")); $w->{rwindow}->show_all if $::isEmbedded; |