summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-13 14:02:14 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-13 14:02:14 -0500
commit8239df4493d81db1d245eaa51fdfe5458e2d1e4f (patch)
tree93d1af99d6568d954e4fa9def23c91c0b4800954 /LICENSE
parentefd02682c7cfb054490308443f7f9facf83363b5 (diff)
downloadvyos-cloud-init-8239df4493d81db1d245eaa51fdfe5458e2d1e4f.tar.gz
vyos-cloud-init-8239df4493d81db1d245eaa51fdfe5458e2d1e4f.zip
add sleep, allow errno '3' (ESRCH) on the open of /proc/pid/cmdline
The sleep is added here simply to not completely spin cpu on waiting for the parent pid to die. the allowing of errno 3 is because I was getting this. I dont have a perfect explanation, but I suspect that the 'open' was actually getting this back from the /proc filesystem after the pid had died. Possibly in the window between when the 'open' was done and the 'read()' was done.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions