153 |
|
if {"$vl" == "all" && ! [chksave]} {return 0} |
154 |
|
set curmess {Please wait...} |
155 |
|
update |
156 |
< |
if [catch {exec rad -n -w -e $f >& /usr/tmp/ro[pid]}] { |
157 |
< |
set curmess [exec cat /usr/tmp/ro[pid]] |
158 |
< |
exec rm -f /usr/tmp/ro[pid] |
156 |
> |
if [catch {exec rad -n -w -e $f >& /tmp/ro[pid]}] { |
157 |
> |
set curmess [exec cat /tmp/ro[pid]] |
158 |
> |
exec rm -f /tmp/ro[pid] |
159 |
|
return 0 |
160 |
|
} |
161 |
< |
set fi [open /usr/tmp/ro[pid] r] |
161 |
> |
set fi [open /tmp/ro[pid] r] |
162 |
|
if {"$vl" == "all"} { |
163 |
|
catch {unset radvar} |
164 |
|
while {[gets $fi curli] != -1} { |
191 |
|
} |
192 |
|
set alldone [eof $fi] |
193 |
|
close $fi |
194 |
< |
exec rm -f /usr/tmp/ro[pid] |
194 |
> |
exec rm -f /tmp/ro[pid] |
195 |
|
preen |
196 |
|
return 1 |
197 |
|
} |