diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-03 14:06:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-03 14:06:37 +0000 |
commit | 841729490f60d3929d8d522964711f861d46f04f (patch) | |
tree | 5e03ddbb59f1b6f9d488c7f7d5c21d927e56c409 | |
parent | 68ac182154aae2675353520413b08aec2115f1c4 (diff) | |
download | mgaonline-841729490f60d3929d8d522964711f861d46f04f.tar mgaonline-841729490f60d3929d8d522964711f861d46f04f.tar.gz mgaonline-841729490f60d3929d8d522964711f861d46f04f.tar.bz2 mgaonline-841729490f60d3929d8d522964711f861d46f04f.tar.xz mgaonline-841729490f60d3929d8d522964711f861d46f04f.zip |
mdkapplet already running should not fire drakbug
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -54,7 +54,10 @@ POSIX::sigaction(&POSIX::SIGHUP, $action); if (!find { $_ eq '--auto-update' } @ARGV) { my $pid = mdkonline::is_running('mdkapplet'); - $pid and die "mdkapplet already running ($pid)\n"; + if ($pid) { + warn "mdkapplet already running ($pid)\n"; + exit(1); + } } my $in = interactive->vnew(''); |