From: Ben Pfaff Date: Tue, 12 Jan 2010 18:57:12 +0000 (-0800) Subject: xenserver: Make BRCOMPATD_MEMLEAK_LOGFILE setting work. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a2e19532841e5d17a394e9f4d9307dd3828a3db;p=openvswitch xenserver: Make BRCOMPATD_MEMLEAK_LOGFILE setting work. Sometimes it's too bad that shell variables don't need declarations. --- diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch index a8d5a388..788c4289 100755 --- 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_LOGFILE" ]; then leak_opt="--check-leaks=$BRCOMPATD_MEMLEAK_LOGFILE" if [ -e "$BRCOMPATD_MEMLEAK_LOGFILE" ]; then mv "$BRCOMPATD_MEMLEAK_LOGFILE" "$BRCOMPATD_MEMLEAK_LOGFILE.prev"