diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-29 22:06:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-03-29 22:06:29 +0000 |
commit | 549e946eac3f8708b44cd94467705ccccf66ee67 (patch) | |
tree | 67f01f2fc2e0ec4ea16dcd106e599a46d7d97d3a | |
parent | 4e7a51a51e3444b9679fe619449745d04aabfaed (diff) | |
download | mgaonline-549e946eac3f8708b44cd94467705ccccf66ee67.tar mgaonline-549e946eac3f8708b44cd94467705ccccf66ee67.tar.gz mgaonline-549e946eac3f8708b44cd94467705ccccf66ee67.tar.bz2 mgaonline-549e946eac3f8708b44cd94467705ccccf66ee67.tar.xz mgaonline-549e946eac3f8708b44cd94467705ccccf66ee67.zip |
display the pid of the already running applet
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,7 +38,8 @@ use mdkonline; use Gtk2::TrayIcon; use Gtk2::NotificationBubble; -mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n"; +my $pid = mdkonline::is_running('mdkapplet'); +$pid and die "mdkapplet already running ($pid)\n"; my $in = interactive->vnew(''); |