Fixed a bug with the error message about external filters and setuid

This commit is contained in:
Thomas Schmitt 2009-04-04 08:26:32 +00:00
parent ba7985f18a
commit 97131421a0
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.04.03.172034"
#define Xorriso_timestamP "2009.04.04.082636"

View File

@ -9798,9 +9798,9 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
new_name[0]= 0;
if(getuid() != geteuid()) {
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
sprintf(xorriso->info_text,
"-set_filter: UID and EUID differ. Will not run external programs.");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
return(0);
}