diff options
Diffstat (limited to 'src/procactions.cpp')
-rw-r--r-- | src/procactions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/procactions.cpp b/src/procactions.cpp index a8f3d61..2e71510 100644 --- a/src/procactions.cpp +++ b/src/procactions.cpp @@ -47,7 +47,8 @@ renice_single_process (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter if (!info) return; - + if (info->nice == args->nice_value) + return; error = setpriority (PRIO_PROCESS, info->pid, args->nice_value); /* success */ |