summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-05 12:49:26 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-05 12:49:26 +0000
commit3a4c6cbe0cca87dccfa5da612669523b5b93e7a6 (patch)
tree03dd8b45b1437d887a269fcaeea7cc5a8977f567
parentfcc1e8204a7a491e6e4af9ff37d2df199e4751a7 (diff)
downloadmgaonline-3a4c6cbe0cca87dccfa5da612669523b5b93e7a6.tar
mgaonline-3a4c6cbe0cca87dccfa5da612669523b5b93e7a6.tar.gz
mgaonline-3a4c6cbe0cca87dccfa5da612669523b5b93e7a6.tar.bz2
mgaonline-3a4c6cbe0cca87dccfa5da612669523b5b93e7a6.tar.xz
mgaonline-3a4c6cbe0cca87dccfa5da612669523b5b93e7a6.zip
fix setting priority with setpriority()
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 6e151b92..ba943c47 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -332,7 +332,7 @@ sub silentCheck() {
my $_safe = before_leaving { POSIX::_exit(0) };
# be nice with other processes:
- setpriority('PRIO_PROCESS', $$, 7);
+ setpriority(0, $$, 7); # 0 is PRIO_PROCESS
my $exit = sub {
my ($state) = @_;