[ovs-dev] [PATCH] ovs-lib: Support old versions of strace.

Ethan Jackson ethan at nicira.com
Thu Jul 5 23:03:38 UTC 2012


> I'm worried about word-splitting on $logdir/$daemon.strace.log
> (e.g. if $logdir happens to contain a space).  I think it would be
> better to write -o "$logdir/$daemon.strace.log" in the "set" and
> "strace" commands, just to be sure.

Could I just escape the quotes? i.e:
strace="strace -tt -T -s 256 -ff -o \"$logdir/$daemon.strace.log\""

Ethan



More information about the dev mailing list