projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e84bb05
)
Don't use cat command
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 15 Jun 2010 20:15:23 +0000
(13:15 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 15 Jun 2010 20:15:23 +0000
(13:15 -0700)
squid/start.cgi
patch
|
blob
|
history
diff --git
a/squid/start.cgi
b/squid/start.cgi
index
8271121
..
e08262a
100755
(executable)
--- a/
squid/start.cgi
+++ b/
squid/start.cgi
@@
-13,7
+13,7
@@
if ($config{'squid_start'}) {
# Use a start script
$rv = &system_logged("$config{'squid_start'} >$temp 2>&1 </dev/null");
sleep(5);
- $errs =
`cat $temp`
;
+ $errs =
&read_file_contents($temp)
;
unlink($temp);
&reset_environment();
if ($errs && $errs =~ /\d+\/\d+\/\d+/) {