Commit 70fea68c authored by Timothy Stack's avatar Timothy Stack

Add a catch for an "exec chmod" that can fail

parent 267a3f98
...@@ -140,7 +140,7 @@ namespace eval TBCOMPAT { ...@@ -140,7 +140,7 @@ namespace eval TBCOMPAT {
if {[file exists "$expdir"]} { if {[file exists "$expdir"]} {
set logname "$expdir/logs/feedback.log" set logname "$expdir/logs/feedback.log"
set tbxlogfile [open $logname w 0664]; set tbxlogfile [open $logname w 0664];
exec chmod 0664 $logname catch "exec chmod 0664 $logname"
puts $tbxlogfile "BEGIN feedback log" puts $tbxlogfile "BEGIN feedback log"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment