clearlinux / micro-config-drive

An alternative and small cloud-init implementation in C
Other
46 stars 17 forks source link

fix wrong retcode check for write_lines function #44

Closed jwang11 closed 5 years ago

jwang11 commented 5 years ago

write_lines return 0 means succeed, thus !write_lines go into error handling path, which is not expected.

Signed-off-by: jwang jing.j.wang@intel.com

ahkok commented 5 years ago

Oh, good catch