Error message if unable to write to the trace directory
This commit is contained in:
parent
15790db577
commit
4bff8d88eb
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ sub update_trace
|
||||||
chmod 0755, "$basedir/$year/$project_id/traces/$rendu_id/";
|
chmod 0755, "$basedir/$year/$project_id/traces/$rendu_id/";
|
||||||
}
|
}
|
||||||
|
|
||||||
open my $out, ">", "$basedir/$year/$project_id/traces/$rendu_id/$login.xml" or croak("");
|
open my $out, ">", "$basedir/$year/$project_id/traces/$rendu_id/$login.xml" or croak("Unable to write to $rendu_id/$login.xml");
|
||||||
print $out $trace;
|
print $out $trace;
|
||||||
close $out;
|
close $out;
|
||||||
|
|
||||||
|
|
Reference in a new issue