nspawn: make coverity happy
authorTom Gundersen <teg@jklm.no>
Mon, 25 May 2015 20:27:14 +0000 (22:27 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 25 May 2015 20:27:29 +0000 (22:27 +0200)
commitf001a83522284bc85c1fdc352229e58316ce0e16
treed3444517efc10b45fbdb3e83d9a12661905039fd
parent01d28f81a782616b6daa84a42447fd4939783a66
nspawn: make coverity happy

Rather than checking the return of asprintf() we are checking if buf gets allocated,
make it clear that it is ok to ignore the return value.

Fixes CID 1299644.
src/nspawn/nspawn.c