summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-06 13:50:23 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-06 13:50:23 +0000
commit4718aa2d8261b65827ff61eaef4a996df0cc30b0 (patch)
tree63e8732e62bf10733669fcb3f35cc57579c6e933
parent5d56c24f351e206cbc957228194be3e69e389a33 (diff)
downloadmgaonline-4718aa2d8261b65827ff61eaef4a996df0cc30b0.tar
mgaonline-4718aa2d8261b65827ff61eaef4a996df0cc30b0.tar.gz
mgaonline-4718aa2d8261b65827ff61eaef4a996df0cc30b0.tar.bz2
mgaonline-4718aa2d8261b65827ff61eaef4a996df0cc30b0.tar.xz
mgaonline-4718aa2d8261b65827ff61eaef4a996df0cc30b0.zip
use die() again now that drakbug is more sensitive
-rwxr-xr-xmdkapplet3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 208f9e98..5de0272f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -50,8 +50,7 @@ POSIX::sigaction(&POSIX::SIGHUP, $action);
if (!find { $_ eq '--auto-update' } @ARGV) {
my $pid = mdkonline::is_running('mdkapplet');
if ($pid) {
- warn "mdkapplet already running ($pid)\n";
- exit(1);
+ die "mdkapplet already running ($pid)\n";
}
}