mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-02-25 16:54:13 +01:00
Missing boolean needs to be set for nice to work.
This commit is contained in:
parent
c7b94b236d
commit
867ba8d629
1
main.c
1
main.c
|
|
@ -445,6 +445,7 @@ int main(int argc, char *argv[])
|
|||
failure("Extra characters after ramsize: \'%s\'\n", endptr);
|
||||
break;
|
||||
case 'N':
|
||||
nice_set = true;
|
||||
control->nice_val = strtol(optarg, &endptr, 10);
|
||||
if (control->nice_val < PRIO_MIN || control->nice_val > PRIO_MAX)
|
||||
failure("Invalid nice value (must be %d...%d)\n", PRIO_MIN, PRIO_MAX);
|
||||
|
|
|
|||
Loading…
Reference in a new issue