Index: openacs-4/packages/acs-admin/www/monitor.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/monitor.tcl,v diff -u -r1.3.2.1 -r1.3.2.2 --- openacs-4/packages/acs-admin/www/monitor.tcl 10 Sep 2015 08:21:01 -0000 1.3.2.1 +++ openacs-4/packages/acs-admin/www/monitor.tcl 27 Nov 2016 12:19:35 -0000 1.3.2.2 @@ -68,7 +68,7 @@ # run standard Unix uptime command to get load average (crude measure of # system health) -if [catch { set uptime_output [exec /usr/bin/uptime] } errmsg] { +if {[catch { set uptime_output [exec /usr/bin/uptime] } errmsg]} { # whoops something wrong with uptime (check path) set uptime_output "ERROR running uptime, check path in script" }