Merge "init: Fix leaking fd and error print"