skill -n testing-some-stuff #158630

This commit is contained in:
albert 2002-10-10 20:04:42 +00:00
parent ea4e3eff54
commit 065a486ccc

View File

@ -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;