projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3ca7e
)
xenserver: Make BRCOMPATD_MEMLEAK_LOGFILE setting work.
author
Ben Pfaff
<blp@nicira.com>
Tue, 12 Jan 2010 18:57:12 +0000
(10:57 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 12 Jan 2010 22:28:01 +0000
(14:28 -0800)
Sometimes it's too bad that shell variables don't need declarations.
xenserver/etc_init.d_vswitch
patch
|
blob
|
history
diff --git
a/xenserver/etc_init.d_vswitch
b/xenserver/etc_init.d_vswitch
index a8d5a388d66db1f4b8152b0e85e0146f318b6ffc..788c4289041a4d3bd9d56ad73d5c9bbe7b64c636 100755
(executable)
--- a/
xenserver/etc_init.d_vswitch
+++ b/
xenserver/etc_init.d_vswitch
@@
-233,7
+233,7
@@
function start_brcompatd {
logfile_file_opt="--log-file=$BRCOMPATD_LOGFILE"
fi
local leak_opt=""
- if [ -n "$BRCOMPATD_MEMLEAK_LOG" ]; then
+ if [ -n "$BRCOMPATD_MEMLEAK_LOG
FILE
" ]; then
leak_opt="--check-leaks=$BRCOMPATD_MEMLEAK_LOGFILE"
if [ -e "$BRCOMPATD_MEMLEAK_LOGFILE" ]; then
mv "$BRCOMPATD_MEMLEAK_LOGFILE" "$BRCOMPATD_MEMLEAK_LOGFILE.prev"