skill -n testing-some-stuff #158630
This commit is contained in:
parent
ea4e3eff54
commit
065a486ccc
8
skill.c
8
skill.c
@ -524,14 +524,6 @@ selection_collection:
|
|||||||
fprintf(stderr,"ERROR: -v makes no sense with -i and -f.\n");
|
fprintf(stderr,"ERROR: -v makes no sense with -i and -f.\n");
|
||||||
skillsnice_usage();
|
skillsnice_usage();
|
||||||
}
|
}
|
||||||
if(n_flag && signo>=0){
|
|
||||||
fprintf(stderr,"ERROR: -n makes no sense with a signal.\n");
|
|
||||||
skillsnice_usage();
|
|
||||||
}
|
|
||||||
if(n_flag && prino!=NO_PRI_VAL){
|
|
||||||
fprintf(stderr,"ERROR: -n makes no sense with a priority value.\n");
|
|
||||||
skillsnice_usage();
|
|
||||||
}
|
|
||||||
/* OK, set up defaults */
|
/* OK, set up defaults */
|
||||||
if(prino==NO_PRI_VAL) prino=4;
|
if(prino==NO_PRI_VAL) prino=4;
|
||||||
if(signo<0) signo=SIGTERM;
|
if(signo<0) signo=SIGTERM;
|
||||||
|
Loading…
Reference in New Issue
Block a user