Skip to content

Instantly share code, notes, and snippets.

@pwnall1337
Last active March 9, 2016 15:28
Show Gist options
  • Save pwnall1337/7b07ff5069dde75fcfd3 to your computer and use it in GitHub Desktop.
Save pwnall1337/7b07ff5069dde75fcfd3 to your computer and use it in GitHub Desktop.
# NOTE(tpownall): If we do not poll for the
exit code when tar has exited pre maturely there is the chance
that tar will become a defunct zombie child under glance plugin
and re parented under init forever waiting on the stdin pipe to
close. Polling for the exit code allows us to break the pipe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment