avoid some indicative messages
Hi,
Maybe it is a stupid question. It's just that use a C program that if certain conditions are true, it adds rules. But every time I start the program, I want to be sure that previous rules that could have been created, they must be deleted, so the C program also does it. In this case, if a rule itself has not been created, some messages are printed that basically say: "that rule cannot be deleted because it doesn't exist". My question then is: is there any way to avoid these messages?
Thank you very much in advance
Miriam
Quoted 7 lines · On Wed, Aug 27, 2003 at 11:24:10PM +0300, MYRIAM15 wrote:
Maybe it is a stupid question. It's just that use a C program that if certain conditions are true, it adds rules. But every time I start the program, I want to be sure that previous rules that could have been created, they must be deleted, so the C program also does it. In this case, if a rule itself has not been created, some messages are printed that basically say: "that rule cannot be deleted because it doesn't exist". My question then is: is there any way to avoid these messages?
Assuming that it's a stupid question, here's a try at a stupid answer:
program 2>/dev/null
Hope this helps.
best regards
Patrick
Quoted 3 lines
Hi,
Maybe it is a stupid question. It's just that use a C program that if exist". My question then is: is there any way to avoid these messages?
close stdout ?